From 821997a1d38718d7808416a69a3ba276729d2c08 Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Wed, 18 Jan 2017 17:24:39 +0100 Subject: libevmasm: remove duplicate `Tier` from `Tier::xTier`s Synchronize with cpp-ethereum --- libevmasm/Instruction.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'libevmasm/Instruction.h') 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. -- cgit v1.2.3