mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +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)
|
switch (_inst)
|
||||||
{
|
{
|
||||||
case Instruction::CALLDATACOPY:
|
|
||||||
case Instruction::CODECOPY:
|
|
||||||
case Instruction::MLOAD:
|
|
||||||
case Instruction::MSTORE:
|
|
||||||
case Instruction::MSTORE8:
|
|
||||||
case Instruction::SSTORE:
|
case Instruction::SSTORE:
|
||||||
case Instruction::GAS:
|
case Instruction::GAS:
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue