From 3c569db98dd13b27a075d202eefe885f76e1af40 Mon Sep 17 00:00:00 2001 From: Sara Reynolds Date: Mon, 11 Sep 2023 12:28:50 -0400 Subject: [PATCH] move before push0 --- libevmasm/Instruction.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libevmasm/Instruction.h b/libevmasm/Instruction.h index 8f52683c1..e4dc14dbd 100644 --- a/libevmasm/Instruction.h +++ b/libevmasm/Instruction.h @@ -103,6 +103,9 @@ enum class Instruction: uint8_t GAS, ///< get the amount of available gas JUMPDEST, ///< set a potential jump destination + TLOAD = 0x5c, ///< https://eips.ethereum.org/EIPS/eip-1153 + TSTORE = 0x5d, ///< https://eips.ethereum.org/EIPS/eip-1153 + PUSH0 = 0x5f, ///< place the value 0 on stack PUSH1 = 0x60, ///< place 1 byte item on stack PUSH2, ///< place 2 byte item on stack @@ -177,8 +180,6 @@ enum class Instruction: uint8_t LOG3, ///< Makes a log entry; 3 topics. LOG4, ///< Makes a log entry; 4 topics. - TLOAD = 0x5c, ///< https://eips.ethereum.org/EIPS/eip-1153 - TSTORE = 0x5d, ///< https://eips.ethereum.org/EIPS/eip-1153 CREATE = 0xf0, ///< create a new account with associated code CALL, ///< message-call into an account