Adjustments for the NEG->BNOT change.

This commit is contained in:
Christian 2014-10-28 17:09:06 +01:00
parent d2a474f7fa
commit eb254f6fdf

View File

@ -212,11 +212,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)});