aboutsummaryrefslogtreecommitdiffstats
path: root/ExpressionCompiler.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-01-09 07:27:26 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-01-09 07:27:26 +0800
commit9cf1c066fce4909e2ce2adebc713beef941508c6 (patch)
tree76388826ae2af11d4023bf82672668d69e720db5 /ExpressionCompiler.cpp
parenta7b661d3be53b4c6a05401782ab8f90202a4f776 (diff)
downloaddexon-solidity-9cf1c066fce4909e2ce2adebc713beef941508c6.tar
dexon-solidity-9cf1c066fce4909e2ce2adebc713beef941508c6.tar.gz
dexon-solidity-9cf1c066fce4909e2ce2adebc713beef941508c6.tar.bz2
dexon-solidity-9cf1c066fce4909e2ce2adebc713beef941508c6.tar.lz
dexon-solidity-9cf1c066fce4909e2ce2adebc713beef941508c6.tar.xz
dexon-solidity-9cf1c066fce4909e2ce2adebc713beef941508c6.tar.zst
dexon-solidity-9cf1c066fce4909e2ce2adebc713beef941508c6.zip
Adjustments to Solidity compiler code for Function Hash
Diffstat (limited to 'ExpressionCompiler.cpp')
-rw-r--r--ExpressionCompiler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ExpressionCompiler.cpp b/ExpressionCompiler.cpp
index 1b10c854..44a16d15 100644
--- a/ExpressionCompiler.cpp
+++ b/ExpressionCompiler.cpp
@@ -592,9 +592,9 @@ void ExpressionCompiler::appendExternalFunctionCall(FunctionType const& _functio
_options.obtainAddress();
if (!_options.bare)
- CompilerUtils(m_context).storeInMemory(0, g_functionIdentifierOffset);
+ CompilerUtils(m_context).storeInMemory(0, CompilerUtils::dataStartOffset);
- unsigned dataOffset = _options.bare ? 0 : g_functionIdentifierOffset; // reserve 4 bytes for the function's hash identifier
+ unsigned dataOffset = _options.bare ? 0 : CompilerUtils::dataStartOffset; // reserve 4 bytes for the function's hash identifier
for (unsigned i = 0; i < _arguments.size(); ++i)
{
_arguments[i]->accept(*this);