From c5ebca65d5eaf94663cde58f319958e851c00fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Mon, 29 Dec 2014 18:44:05 +0100 Subject: [PATCH] More aggresive gas counting optimization: do not commit cost before memory access. --- libevmjit/GasMeter.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libevmjit/GasMeter.cpp b/libevmjit/GasMeter.cpp index ce53bfc267..801d5b9381 100644 --- a/libevmjit/GasMeter.cpp +++ b/libevmjit/GasMeter.cpp @@ -87,11 +87,6 @@ bool isCostBlockEnd(Instruction _inst) switch (_inst) { - case Instruction::CALLDATACOPY: - case Instruction::CODECOPY: - case Instruction::MLOAD: - case Instruction::MSTORE: - case Instruction::MSTORE8: case Instruction::SSTORE: case Instruction::GAS: return true;