aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-02-15 08:02:38 +0800
committerChristian <c@ethdev.com>2015-02-17 02:25:27 +0800
commit5f043127ae0ee87e3654978dceafb67c8c1d314a (patch)
tree4020d791d70ab558983b4fa2a43c2393f4703148
parent8290b6305bfa66cbff74a5c61cca88d968224a8b (diff)
downloaddexon-solidity-5f043127ae0ee87e3654978dceafb67c8c1d314a.tar.gz
dexon-solidity-5f043127ae0ee87e3654978dceafb67c8c1d314a.tar.zst
dexon-solidity-5f043127ae0ee87e3654978dceafb67c8c1d314a.zip
loadFromMemoryDynamic
-rw-r--r--SolidityCompiler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/SolidityCompiler.cpp b/SolidityCompiler.cpp
index 17d9a7c0..1369b038 100644
--- a/SolidityCompiler.cpp
+++ b/SolidityCompiler.cpp
@@ -96,7 +96,7 @@ BOOST_AUTO_TEST_CASE(smoke_test)
"}\n";
bytes code = compileContract(sourceCode);
- unsigned boilerplateSize = 69;
+ unsigned boilerplateSize = 70;
bytes expectation({byte(Instruction::JUMPDEST),
byte(Instruction::PUSH1), 0x0, // initialize local variable x
byte(Instruction::PUSH1), 0x2,
@@ -114,8 +114,8 @@ BOOST_AUTO_TEST_CASE(ifStatement)
" function f() { bool x; if (x) 77; else if (!x) 78; else 79; }"
"}\n";
bytes code = compileContract(sourceCode);
- unsigned shift = 56;
- unsigned boilerplateSize = 69;
+ unsigned shift = 57;
+ unsigned boilerplateSize = 70;
bytes expectation({byte(Instruction::JUMPDEST),
byte(Instruction::PUSH1), 0x0,
byte(Instruction::DUP1),
@@ -155,8 +155,8 @@ BOOST_AUTO_TEST_CASE(loops)
" function f() { while(true){1;break;2;continue;3;return;4;} }"
"}\n";
bytes code = compileContract(sourceCode);
- unsigned shift = 56;
- unsigned boilerplateSize = 69;
+ unsigned shift = 57;
+ unsigned boilerplateSize = 70;
bytes expectation({byte(Instruction::JUMPDEST),
byte(Instruction::JUMPDEST),
byte(Instruction::PUSH1), 0x1,