diff options
author | Christian <c@ethdev.com> | 2015-01-29 23:42:59 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2015-01-30 04:33:46 +0800 |
commit | 4e72a775469ea0e97475460997336de2e3af80df (patch) | |
tree | 41ec76a749bdc477dac8e410bc6be502a557550a /ExpressionCompiler.h | |
parent | 4a6ed84386ed7bc3abd2b4cf2441b29a5af38816 (diff) | |
download | dexon-solidity-4e72a775469ea0e97475460997336de2e3af80df.tar.gz dexon-solidity-4e72a775469ea0e97475460997336de2e3af80df.tar.zst dexon-solidity-4e72a775469ea0e97475460997336de2e3af80df.zip |
Code generation for events.
Diffstat (limited to 'ExpressionCompiler.h')
-rw-r--r-- | ExpressionCompiler.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ExpressionCompiler.h b/ExpressionCompiler.h index 748cc6c6..18c3817a 100644 --- a/ExpressionCompiler.h +++ b/ExpressionCompiler.h @@ -94,8 +94,13 @@ private: bool bare = false); /// Appends code that copies the given arguments to memory (with optional offset). /// @returns the number of bytes copied to memory - unsigned appendArgumentCopyToMemory(TypePointers const& _functionType, std::vector<ASTPointer<Expression const>> const& _arguments, - unsigned _memoryOffset = 0); + unsigned appendArgumentCopyToMemory(TypePointers const& _types, + std::vector<ASTPointer<Expression const>> const& _arguments, + unsigned _memoryOffset = 0); + /// Appends code that evaluates a single expression and copies it to memory (with optional offset). + /// @returns the number of bytes copied to memory + unsigned appendExpressionCopyToMemory(Type const& _expectedType, Expression const& _expression, + unsigned _memoryOffset = 0); /// Appends code for a State Variable accessor function void appendStateVariableAccessor(VariableDeclaration const& _varDecl); |