diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-05 22:05:58 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-06 16:38:04 +0800 |
commit | 337b952f53d4eb24e6ae28386f26b4f69a33d935 (patch) | |
tree | f9d5eb6b70a77d0ad4f55336e4bd951f29cb2b95 /ExpressionCompiler.h | |
parent | f09c6fffc9f55b5208560d6550134bf854970db8 (diff) | |
download | dexon-solidity-337b952f53d4eb24e6ae28386f26b4f69a33d935.tar.gz dexon-solidity-337b952f53d4eb24e6ae28386f26b4f69a33d935.tar.zst dexon-solidity-337b952f53d4eb24e6ae28386f26b4f69a33d935.zip |
Fixes after rebase
Diffstat (limited to 'ExpressionCompiler.h')
-rw-r--r-- | ExpressionCompiler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ExpressionCompiler.h b/ExpressionCompiler.h index 1f42d822..90a60afc 100644 --- a/ExpressionCompiler.h +++ b/ExpressionCompiler.h @@ -97,6 +97,10 @@ private: unsigned appendArgumentsCopyToMemory(TypePointers const& _types, std::vector<ASTPointer<Expression const>> const& _arguments, unsigned _memoryOffset = 0); + /// Appends code that copies a type to memory. + /// @returns the number of bytes copied to memory + unsigned appendTypeConversionAndMoveToMemory(Type const& _expectedType, Type const& _type, + Location const& _location, unsigned _memoryOffset = 0); /// Appends code that copies the given arguments that should all have the /// same @a _type to memory (with optional offset). /// @returns the number of bytes copied to memory |