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/Instruction.h | |
parent | a466f26c459c8df27b0b25e53b897461fdc8fd63 (diff) | |
download | dexon-solidity-821997a1d38718d7808416a69a3ba276729d2c08.tar dexon-solidity-821997a1d38718d7808416a69a3ba276729d2c08.tar.gz dexon-solidity-821997a1d38718d7808416a69a3ba276729d2c08.tar.bz2 dexon-solidity-821997a1d38718d7808416a69a3ba276729d2c08.tar.lz dexon-solidity-821997a1d38718d7808416a69a3ba276729d2c08.tar.xz 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/Instruction.h')
-rw-r--r-- | libevmasm/Instruction.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libevmasm/Instruction.h b/libevmasm/Instruction.h index 4ebaeb98..2dd451cd 100644 --- a/libevmasm/Instruction.h +++ b/libevmasm/Instruction.h @@ -225,17 +225,17 @@ inline Instruction logInstruction(unsigned _number) return Instruction(unsigned(Instruction::LOG0) + _number); } -enum class Tier : int +enum class Tier : unsigned { - ZeroTier = 0, // 0, Zero - BaseTier, // 2, Quick - VeryLowTier, // 3, Fastest - LowTier, // 5, Fast - MidTier, // 8, Mid - HighTier, // 10, Slow - ExtTier, // 20, Ext - SpecialTier, // multiparam or otherwise special - InvalidTier // Invalid. + Zero = 0, // 0, Zero + Base, // 2, Quick + VeryLow, // 3, Fastest + Low, // 5, Fast + Mid, // 8, Mid + High, // 10, Slow + Ext, // 20, Ext + Special, // multiparam or otherwise special + Invalid // Invalid. }; /// Information structure for a particular instruction. |