diff options
author | chriseth <c@ethdev.com> | 2015-03-31 20:59:38 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-04-16 00:06:41 +0800 |
commit | 5216a9bc678597c0076b2e8615cac43c9077a95e (patch) | |
tree | ec2ec1dc821bfb0348458eaadf1b4336d7d609ad /Compiler.cpp | |
parent | e1b20fb3a10f629aff172399c6e6111c941f931d (diff) | |
download | dexon-solidity-5216a9bc678597c0076b2e8615cac43c9077a95e.tar dexon-solidity-5216a9bc678597c0076b2e8615cac43c9077a95e.tar.gz dexon-solidity-5216a9bc678597c0076b2e8615cac43c9077a95e.tar.bz2 dexon-solidity-5216a9bc678597c0076b2e8615cac43c9077a95e.tar.lz dexon-solidity-5216a9bc678597c0076b2e8615cac43c9077a95e.tar.xz dexon-solidity-5216a9bc678597c0076b2e8615cac43c9077a95e.tar.zst dexon-solidity-5216a9bc678597c0076b2e8615cac43c9077a95e.zip |
Some cleanup concerning byte arrays.
Diffstat (limited to 'Compiler.cpp')
-rw-r--r-- | Compiler.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Compiler.cpp b/Compiler.cpp index 8e263449..886565cb 100644 --- a/Compiler.cpp +++ b/Compiler.cpp @@ -254,7 +254,6 @@ void Compiler::appendCalldataUnpacker(TypePointers const& _typeParameters, bool void Compiler::appendReturnValuePacker(TypePointers const& _typeParameters) { - //@todo this can be also done more efficiently unsigned dataOffset = 0; unsigned stackDepth = 0; for (TypePointer const& type: _typeParameters) @@ -303,9 +302,6 @@ bool Compiler::visit(VariableDeclaration const& _variableDeclaration) bool Compiler::visit(FunctionDefinition const& _function) { CompilerContext::LocationSetter locationSetter(m_context, _function); - //@todo to simplify this, the calling convention could by changed such that - // caller puts: [retarg0] ... [retargm] [return address] [arg0] ... [argn] - // although note that this reduces the size of the visible stack m_context.startFunction(_function); |