aboutsummaryrefslogtreecommitdiffstats
path: root/Compiler.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-03-31 20:59:38 +0800
committerchriseth <c@ethdev.com>2015-04-16 00:06:41 +0800
commit5216a9bc678597c0076b2e8615cac43c9077a95e (patch)
treeec2ec1dc821bfb0348458eaadf1b4336d7d609ad /Compiler.cpp
parente1b20fb3a10f629aff172399c6e6111c941f931d (diff)
downloaddexon-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.cpp4
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);