diff options
author | Christian <c@ethdev.com> | 2014-12-08 23:56:41 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-12-08 23:56:41 +0800 |
commit | 7be59036e51f1bf7cfe29c604e1204531fa66217 (patch) | |
tree | f175fdf2601c7155226e500e540062c04f987881 | |
parent | a78aff544c85453a68fdbaa3ab789e19a67c3a76 (diff) | |
download | dexon-solidity-7be59036e51f1bf7cfe29c604e1204531fa66217.tar.gz dexon-solidity-7be59036e51f1bf7cfe29c604e1204531fa66217.tar.zst dexon-solidity-7be59036e51f1bf7cfe29c604e1204531fa66217.zip |
Register variably-sized variables on stack.
-rw-r--r-- | solidityCompiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/solidityCompiler.cpp b/solidityCompiler.cpp index 9862cba8..004740b5 100644 --- a/solidityCompiler.cpp +++ b/solidityCompiler.cpp @@ -125,8 +125,8 @@ BOOST_AUTO_TEST_CASE(different_argument_numbers) byte(Instruction::JUMP), // end of f byte(Instruction::JUMPDEST), // beginning of g byte(Instruction::PUSH1), 0x0, - byte(Instruction::DUP1), // initialized e and h - byte(Instruction::PUSH1), byte(0x29 + shift), // ret address + byte(Instruction::PUSH1), 0x0, // initialized e and h + byte(Instruction::PUSH1), byte(0x2a + shift), // ret address byte(Instruction::PUSH1), 0x1, byte(Instruction::PUSH1), 0xff, byte(Instruction::AND), byte(Instruction::PUSH1), 0x2, byte(Instruction::PUSH1), 0xff, byte(Instruction::AND), byte(Instruction::PUSH1), 0x3, byte(Instruction::PUSH1), 0xff, byte(Instruction::AND), |