NEG->BNOT change

This commit is contained in:
Christian 2014-10-29 00:29:07 +01:00
parent 9eacf5737f
commit d706631412

View File

@ -210,11 +210,9 @@ BOOST_AUTO_TEST_CASE(unary_operators)
byte(eth::Instruction::PUSH1), 0x1, byte(eth::Instruction::PUSH1), 0x1,
byte(eth::Instruction::SWAP1), byte(eth::Instruction::SWAP1),
byte(eth::Instruction::SUB), byte(eth::Instruction::SUB),
byte(eth::Instruction::NEG),
byte(eth::Instruction::PUSH1), 0x1,
byte(eth::Instruction::PUSH1), 0x0, byte(eth::Instruction::PUSH1), 0x0,
byte(eth::Instruction::SUB), byte(eth::Instruction::SUB),
byte(eth::Instruction::XOR), // bitwise not byte(eth::Instruction::BNOT),
byte(eth::Instruction::PUSH1), 0x2, byte(eth::Instruction::PUSH1), 0x2,
byte(eth::Instruction::EQ), byte(eth::Instruction::EQ),
byte(eth::Instruction::NOT)}); byte(eth::Instruction::NOT)});