Skip to content

Commit

Permalink
Remove global labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Nashtare committed Dec 1, 2023
1 parent 180abcb commit f4a1bd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions evm/src/cpu/kernel/asm/mpt/hex_prefix.asm
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ first_byte:
SWAP1
JUMP
global remaining_bytes:
remaining_bytes:
// stack: rlp_pos, num_nibbles, packed_nibbles, retdest
SWAP2
PUSH @U256_MAX
Expand Down Expand Up @@ -86,7 +86,7 @@ global remaining_bytes:
JUMP


global rlp_header_medium:
rlp_header_medium:
// stack: hp_len, rlp_pos, num_nibbles, packed_nibbles, terminated, retdest
%add_const(0x80) // value = 0x80 + hp_len
DUP2 // offset = rlp_pos
Expand All @@ -105,7 +105,7 @@ global rlp_header_medium:

%jump(first_byte)

global rlp_header_large:
rlp_header_large:
// stack: hp_len, rlp_pos, num_nibbles, packed_nibbles, terminated, retdest
// In practice hex-prefix length will never exceed 256, so the length of the
// length will always be 1 byte in this case.
Expand Down

0 comments on commit f4a1bd3

Please sign in to comment.