aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--solidityCompiler.cpp4
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)});