aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/Instruction.h
diff options
context:
space:
mode:
Diffstat (limited to 'libevmasm/Instruction.h')
-rw-r--r--libevmasm/Instruction.h20
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.