diff options
author | Christian <c@ethdev.com> | 2014-12-19 18:31:17 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2015-01-09 22:16:09 +0800 |
commit | 65df7459db0e9d3bbe034d1a3abdc6dc9219d6c8 (patch) | |
tree | f5b461b14e8e9458f33d52f26737f827a966f91b /SolidityCompiler.cpp | |
parent | 4f7bb098213294dacb200b21f631824f30e1ed8c (diff) | |
download | dexon-solidity-65df7459db0e9d3bbe034d1a3abdc6dc9219d6c8.tar dexon-solidity-65df7459db0e9d3bbe034d1a3abdc6dc9219d6c8.tar.gz dexon-solidity-65df7459db0e9d3bbe034d1a3abdc6dc9219d6c8.tar.bz2 dexon-solidity-65df7459db0e9d3bbe034d1a3abdc6dc9219d6c8.tar.lz dexon-solidity-65df7459db0e9d3bbe034d1a3abdc6dc9219d6c8.tar.xz dexon-solidity-65df7459db0e9d3bbe034d1a3abdc6dc9219d6c8.tar.zst dexon-solidity-65df7459db0e9d3bbe034d1a3abdc6dc9219d6c8.zip |
Arbitrary precision integer constants.
Diffstat (limited to 'SolidityCompiler.cpp')
-rw-r--r-- | SolidityCompiler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/SolidityCompiler.cpp b/SolidityCompiler.cpp index 1a9685f0..b4874e19 100644 --- a/SolidityCompiler.cpp +++ b/SolidityCompiler.cpp @@ -134,10 +134,10 @@ BOOST_AUTO_TEST_CASE(different_argument_numbers) byte(Instruction::JUMPDEST), // beginning of g byte(Instruction::PUSH1), 0x0, 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), + byte(Instruction::PUSH1), byte(0x21 + shift), // ret address + byte(Instruction::PUSH1), 0x1, + byte(Instruction::PUSH1), 0x2, + byte(Instruction::PUSH1), 0x3, byte(Instruction::PUSH1), byte(0x1 + shift), // stack here: ret e h 0x20 1 2 3 0x1 byte(Instruction::JUMP), |