diff options
author | Christian <c@ethdev.com> | 2014-10-29 00:09:06 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-10-29 00:09:06 +0800 |
commit | eb254f6fdf8dd52caf8443821c60fd14d45d2943 (patch) | |
tree | 449c212c558fa32f119b87fcd5c1fd3ac154c08f | |
parent | d2a474f7fad46a86614b0d8cfb221070f9bcc622 (diff) | |
download | dexon-solidity-eb254f6fdf8dd52caf8443821c60fd14d45d2943.tar dexon-solidity-eb254f6fdf8dd52caf8443821c60fd14d45d2943.tar.gz dexon-solidity-eb254f6fdf8dd52caf8443821c60fd14d45d2943.tar.bz2 dexon-solidity-eb254f6fdf8dd52caf8443821c60fd14d45d2943.tar.lz dexon-solidity-eb254f6fdf8dd52caf8443821c60fd14d45d2943.tar.xz dexon-solidity-eb254f6fdf8dd52caf8443821c60fd14d45d2943.tar.zst dexon-solidity-eb254f6fdf8dd52caf8443821c60fd14d45d2943.zip |
Adjustments for the 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 26bfc7cb..0d9d59c1 100644 --- a/solidityCompiler.cpp +++ b/solidityCompiler.cpp @@ -212,11 +212,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)}); |