diff options
author | chriseth <chris@ethereum.org> | 2017-01-19 02:28:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-19 02:28:37 +0800 |
commit | 7c18b785e3f84ef3f7c52a9432344fcef5a6fa44 (patch) | |
tree | 8843c00daead70db6d1c39d1025d5f970ab28773 /libevmasm/Instruction.h | |
parent | 9ce30e9da0b342ce0239022ddb6e11b46132dd37 (diff) | |
parent | 821997a1d38718d7808416a69a3ba276729d2c08 (diff) | |
download | dexon-solidity-7c18b785e3f84ef3f7c52a9432344fcef5a6fa44.tar dexon-solidity-7c18b785e3f84ef3f7c52a9432344fcef5a6fa44.tar.gz dexon-solidity-7c18b785e3f84ef3f7c52a9432344fcef5a6fa44.tar.bz2 dexon-solidity-7c18b785e3f84ef3f7c52a9432344fcef5a6fa44.tar.lz dexon-solidity-7c18b785e3f84ef3f7c52a9432344fcef5a6fa44.tar.xz dexon-solidity-7c18b785e3f84ef3f7c52a9432344fcef5a6fa44.tar.zst dexon-solidity-7c18b785e3f84ef3f7c52a9432344fcef5a6fa44.zip |
Merge pull request #1584 from ethereum/tier
libevmasm: remove duplicate `Tier` from `Tier::xTier`s
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. |