diff options
author | Dimitry <dimitry@ethdev.com> | 2016-04-04 19:27:09 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethdev.com> | 2016-04-04 19:27:09 +0800 |
commit | d43d4347bf1e37bb8f114c9df0e2ae62545fbc87 (patch) | |
tree | 2f8ee0e7ff5c349f42391689796ab8930d0fe1ff /libevmasm/GasMeter.cpp | |
parent | 98165100658bc4f29e6194f0c5ede6e5b9d516f5 (diff) | |
download | dexon-solidity-d43d4347bf1e37bb8f114c9df0e2ae62545fbc87.tar.gz dexon-solidity-d43d4347bf1e37bb8f114c9df0e2ae62545fbc87.tar.zst dexon-solidity-d43d4347bf1e37bb8f114c9df0e2ae62545fbc87.zip |
return instructionInfo style
Diffstat (limited to 'libevmasm/GasMeter.cpp')
-rw-r--r-- | libevmasm/GasMeter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libevmasm/GasMeter.cpp b/libevmasm/GasMeter.cpp index d57fc351..eab3037b 100644 --- a/libevmasm/GasMeter.cpp +++ b/libevmasm/GasMeter.cpp @@ -209,7 +209,7 @@ u256 GasMeter::runGas(Instruction _instruction, EVMSchedule const& _es) if (_instruction == Instruction::JUMPDEST) return 1; - int tier = getInstructionInfo(_instruction).gasPriceTier; + int tier = instructionInfo(_instruction).gasPriceTier; assertThrow(tier != InvalidTier, OptimizerException, "Invalid gas tier."); return _es.tierStepGas[tier]; } |