mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
More aggresive gas counting optimization: do not commit cost before memory access.
This commit is contained in:
parent
69930b9bcd
commit
c5ebca65d5
1 changed files with 0 additions and 5 deletions
|
|
@ -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…
Reference in a new issue