aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ExpressionCompiler.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-10-07 00:29:05 +0800
committerchriseth <c@ethdev.com>2015-10-07 00:29:05 +0800
commitd35a4b849da427629334665cc1bb931a259adac9 (patch)
tree79b38a402947d3fe093e0573dee2c44d969a6c22 /libsolidity/ExpressionCompiler.cpp
parentc6e637677b724558f192eea19d10583da225b083 (diff)
parent55af63e4638d6552ff5fdb4f78fc582536daa43a (diff)
downloaddexon-solidity-d35a4b849da427629334665cc1bb931a259adac9.tar
dexon-solidity-d35a4b849da427629334665cc1bb931a259adac9.tar.gz
dexon-solidity-d35a4b849da427629334665cc1bb931a259adac9.tar.bz2
dexon-solidity-d35a4b849da427629334665cc1bb931a259adac9.tar.lz
dexon-solidity-d35a4b849da427629334665cc1bb931a259adac9.tar.xz
dexon-solidity-d35a4b849da427629334665cc1bb931a259adac9.tar.zst
dexon-solidity-d35a4b849da427629334665cc1bb931a259adac9.zip
Merge pull request #117 from chriseth/internalTypesForLibrary
Internal types for library
Diffstat (limited to 'libsolidity/ExpressionCompiler.cpp')
-rw-r--r--libsolidity/ExpressionCompiler.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libsolidity/ExpressionCompiler.cpp b/libsolidity/ExpressionCompiler.cpp
index 49bf2559..c11ef29e 100644
--- a/libsolidity/ExpressionCompiler.cpp
+++ b/libsolidity/ExpressionCompiler.cpp
@@ -585,7 +585,7 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall)
}
if (!event.isAnonymous())
{
- m_context << u256(h256::Arith(dev::sha3(function.externalSignature(event.name()))));
+ m_context << u256(h256::Arith(dev::sha3(function.externalSignature())));
++numIndexed;
}
solAssert(numIndexed <= 4, "Too many indexed arguments.");
@@ -1179,7 +1179,8 @@ void ExpressionCompiler::appendExternalFunctionCall(
argumentTypes,
_functionType.parameterTypes(),
_functionType.padArguments(),
- _functionType.takesArbitraryParameters()
+ _functionType.takesArbitraryParameters(),
+ isCallCode
);
// Stack now: