diff options
author | Christian <c@ethdev.com> | 2014-10-29 07:29:07 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-10-29 21:26:37 +0800 |
commit | d706631412f59aac245bab37e3041283f27fdf40 (patch) | |
tree | 5795872feb083845eac28b7125e1e9d1f019107b | |
parent | 9eacf5737fa87e5a0029e991b04d43c7f77d2141 (diff) | |
download | dexon-solidity-d706631412f59aac245bab37e3041283f27fdf40.tar.gz dexon-solidity-d706631412f59aac245bab37e3041283f27fdf40.tar.zst dexon-solidity-d706631412f59aac245bab37e3041283f27fdf40.zip |
NEG->BNOT change
-rw-r--r-- | solidityCompiler.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/solidityCompiler.cpp b/solidityCompiler.cpp index 6e12fecf..02a2287d 100644 --- a/solidityCompiler.cpp +++ b/solidityCompiler.cpp @@ -210,11 +210,9 @@ BOOST_AUTO_TEST_CASE(unary_operators) byte(eth::Instruction::PUSH1), 0x1, byte(eth::Instruction::SWAP1), byte(eth::Instruction::SUB), - byte(eth::Instruction::NEG), - byte(eth::Instruction::PUSH1), 0x1, byte(eth::Instruction::PUSH1), 0x0, byte(eth::Instruction::SUB), - byte(eth::Instruction::XOR), // bitwise not + byte(eth::Instruction::BNOT), byte(eth::Instruction::PUSH1), 0x2, byte(eth::Instruction::EQ), byte(eth::Instruction::NOT)}); |