From 007205a27493e11e3a49943f51f0bc3b30e43a2a Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 30 Apr 2024 10:14:30 +0200 Subject: [PATCH] Order `Instructions.h` by opcodes TLOAD/TSTORE was out of order --- libevmasm/Instruction.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libevmasm/Instruction.h b/libevmasm/Instruction.h index f89c72c8941e..a3629eec2db8 100644 --- a/libevmasm/Instruction.h +++ b/libevmasm/Instruction.h @@ -104,10 +104,9 @@ enum class Instruction: uint8_t MSIZE, ///< get the size of active memory GAS, ///< get the amount of available gas JUMPDEST, ///< set a potential jump destination - MCOPY = 0x5e, ///< copy between memory areas - TLOAD = 0x5c, ///< load word from transient storage TSTORE = 0x5d, ///< save word to transient storage + MCOPY = 0x5e, ///< copy between memory areas PUSH0 = 0x5f, ///< place the value 0 on stack PUSH1 = 0x60, ///< place 1 byte item on stack