From 4ff89dda1d9d81170b65775b33c1cfbd7e5e6b48 Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 14 Nov 2016 13:22:55 +0100 Subject: Update SolidityOptimizer.cpp --- test/libsolidity/SolidityOptimizer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/libsolidity/SolidityOptimizer.cpp b/test/libsolidity/SolidityOptimizer.cpp index 90caaab0..00a636fd 100644 --- a/test/libsolidity/SolidityOptimizer.cpp +++ b/test/libsolidity/SolidityOptimizer.cpp @@ -1308,18 +1308,18 @@ BOOST_AUTO_TEST_CASE(cse_sub_zero) { checkCSE({ u256(0), - u256(5), + Instruction::DUP2, Instruction::SUB }, { u256(5) }); checkCSE({ - u256(5), + Instruction::DUP2, u256(0), Instruction::SUB }, { - u256(5), + Instruction::DUP2, u256(0), Instruction::SUB }); -- cgit