From 184ddca5a108c5f3d026aa372a2af2f63b2694f9 Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Thu, 8 Jan 2015 17:18:31 +0100 Subject: Compiler EVM generation now takes into account for the new function hash identifier - Changed tests to comply with the new function hash identifier - Changed the function index offset to 4, and made it a constant for easy adjustment in the future --- CompilerUtils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CompilerUtils.h') diff --git a/CompilerUtils.h b/CompilerUtils.h index 928f0e2d..bffd6f49 100644 --- a/CompilerUtils.h +++ b/CompilerUtils.h @@ -30,6 +30,9 @@ namespace solidity { class Type; // forward +/// The size in bytes of the function (hash) identifier +static const unsigned int g_functionIdentifierOffset = 4; + class CompilerUtils { public: -- cgit