Browse Source

More aggresive gas counting optimization: do not commit cost before memory access.

cl-refactor
Paweł Bylica 10 years ago
parent
commit
c5ebca65d5
  1. 5
      libevmjit/GasMeter.cpp

5
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;

Loading…
Cancel
Save