diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-01-19 00:24:39 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2017-01-19 00:24:39 +0800 |
commit | 821997a1d38718d7808416a69a3ba276729d2c08 (patch) | |
tree | 4411cc97585c5f8293fcae5bf77870ff0c426947 /libevmasm/GasMeter.cpp | |
parent | a466f26c459c8df27b0b25e53b897461fdc8fd63 (diff) | |
download | dexon-solidity-821997a1d38718d7808416a69a3ba276729d2c08.tar.gz dexon-solidity-821997a1d38718d7808416a69a3ba276729d2c08.tar.zst dexon-solidity-821997a1d38718d7808416a69a3ba276729d2c08.zip |
libevmasm: remove duplicate `Tier` from `Tier::xTier`s
Synchronize with cpp-ethereum
Diffstat (limited to 'libevmasm/GasMeter.cpp')
-rw-r--r-- | libevmasm/GasMeter.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libevmasm/GasMeter.cpp b/libevmasm/GasMeter.cpp index bc7d4e55..462c09dd 100644 --- a/libevmasm/GasMeter.cpp +++ b/libevmasm/GasMeter.cpp @@ -223,14 +223,14 @@ unsigned GasMeter::runGas(Instruction _instruction) switch (instructionInfo(_instruction).gasPriceTier) { - case Tier::ZeroTier: return GasCosts::tier0Gas; - case Tier::BaseTier: return GasCosts::tier1Gas; - case Tier::VeryLowTier: return GasCosts::tier2Gas; - case Tier::LowTier: return GasCosts::tier3Gas; - case Tier::MidTier: return GasCosts::tier4Gas; - case Tier::HighTier: return GasCosts::tier5Gas; - case Tier::ExtTier: return GasCosts::tier6Gas; - case Tier::SpecialTier: return GasCosts::tier7Gas; + case Tier::Zero: return GasCosts::tier0Gas; + case Tier::Base: return GasCosts::tier1Gas; + case Tier::VeryLow: return GasCosts::tier2Gas; + case Tier::Low: return GasCosts::tier3Gas; + case Tier::Mid: return GasCosts::tier4Gas; + case Tier::High: return GasCosts::tier5Gas; + case Tier::Ext: return GasCosts::tier6Gas; + case Tier::Special: return GasCosts::tier7Gas; default: break; } assertThrow(false, OptimizerException, "Invalid gas tier."); |