diff options
author | Christian <c@ethdev.com> | 2015-01-09 07:58:32 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2015-01-10 01:20:51 +0800 |
commit | fe16922087ef41f157ef8661a9295aa1539796a5 (patch) | |
tree | e11a1111c08a862c72f9de92b2d47f6d81ea3bcd /ExpressionCompiler.h | |
parent | 396f638ce19206144ce32dcf3926fc13fa9a89b7 (diff) | |
download | dexon-solidity-fe16922087ef41f157ef8661a9295aa1539796a5.tar dexon-solidity-fe16922087ef41f157ef8661a9295aa1539796a5.tar.gz dexon-solidity-fe16922087ef41f157ef8661a9295aa1539796a5.tar.bz2 dexon-solidity-fe16922087ef41f157ef8661a9295aa1539796a5.tar.lz dexon-solidity-fe16922087ef41f157ef8661a9295aa1539796a5.tar.xz dexon-solidity-fe16922087ef41f157ef8661a9295aa1539796a5.tar.zst dexon-solidity-fe16922087ef41f157ef8661a9295aa1539796a5.zip |
Padding for ABI types.
Diffstat (limited to 'ExpressionCompiler.h')
-rw-r--r-- | ExpressionCompiler.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ExpressionCompiler.h b/ExpressionCompiler.h index abd7f775..98f58c85 100644 --- a/ExpressionCompiler.h +++ b/ExpressionCompiler.h @@ -51,7 +51,8 @@ public: static void compileExpression(CompilerContext& _context, Expression const& _expression, bool _optimize = false); /// Appends code to remove dirty higher order bits in case of an implicit promotion to a wider type. - static void appendTypeConversion(CompilerContext& _context, Type const& _typeOnStack, Type const& _targetType); + static void appendTypeConversion(CompilerContext& _context, Type const& _typeOnStack, + Type const& _targetType, bool _cleanupNeeded = false); private: explicit ExpressionCompiler(CompilerContext& _compilerContext, bool _optimize = false): @@ -96,9 +97,6 @@ private: std::function<void()> obtainValue; /// If true, do not prepend function index to call data bool bare = false; - /// If false, use calling convention that all arguments and return values are packed as - /// 32 byte values with padding. - bool packDensely = true; }; /// Appends code to call a function of the given type with the given arguments. |