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

This commit is contained in:
Paweł Bylica 2014-12-29 18:44:05 +01:00
parent 69930b9bcd
commit c5ebca65d5

View file

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