From e96003e709e3b12657cb2ca34c49f0f86577e299 Mon Sep 17 00:00:00 2001 From: Bhargava Shastry Date: Mon, 17 Jun 2019 13:41:48 +0200 Subject: [PATCH] optimizer: Remove redundant rule from the optimizer rule list --- libevmasm/RuleList.h | 1 - 1 file changed, 1 deletion(-) diff --git a/libevmasm/RuleList.h b/libevmasm/RuleList.h index 7c95883b2..6c171a039 100644 --- a/libevmasm/RuleList.h +++ b/libevmasm/RuleList.h @@ -89,7 +89,6 @@ std::vector> simplificationRuleListPart1( {{Instruction::BYTE, {A, B}}, [=]{ return A.d() >= 32 ? 0 : (B.d() >> unsigned(8 * (31 - A.d()))) & 0xff; }, false}, {{Instruction::ADDMOD, {A, B, C}}, [=]{ return C.d() == 0 ? 0 : u256((bigint(A.d()) + bigint(B.d())) % C.d()); }, false}, {{Instruction::MULMOD, {A, B, C}}, [=]{ return C.d() == 0 ? 0 : u256((bigint(A.d()) * bigint(B.d())) % C.d()); }, false}, - {{Instruction::MULMOD, {A, B, C}}, [=]{ return A.d() * B.d(); }, false}, {{Instruction::SIGNEXTEND, {A, B}}, [=]() -> u256 { if (A.d() >= 31) return B.d();