aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/GasMeter.cpp
diff options
context:
space:
mode:
authorDimitry <dimitry@ethdev.com>2016-04-04 19:27:09 +0800
committerDimitry <dimitry@ethdev.com>2016-04-04 19:27:09 +0800
commitd43d4347bf1e37bb8f114c9df0e2ae62545fbc87 (patch)
tree2f8ee0e7ff5c349f42391689796ab8930d0fe1ff /libevmasm/GasMeter.cpp
parent98165100658bc4f29e6194f0c5ede6e5b9d516f5 (diff)
downloaddexon-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.cpp2
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];
}