mirror of https://github.com/status-im/EIPs.git
Automatically merged updates to draft EIP(s) 615
Hi, I'm a bot! This change was automatically merged because: - It only modifies existing draft EIP(s) - The creator of this PR is listed as an author on all modified EIP(s) - The build is passing
This commit is contained in:
parent
ecb731ef00
commit
77ee0e138c
|
@ -211,9 +211,8 @@ Validating that jumps are to valid addresses takes two sequential passes over th
|
|||
|
||||
bool validate_jumps(PC)
|
||||
{
|
||||
current_sub = PC
|
||||
|
||||
// build sets of BEGINSUBs and JUMPDESTs
|
||||
current_sub = 0
|
||||
for (PC = 0; instruction = bytecode[PC]; PC = advance_pc(PC))
|
||||
{
|
||||
if instruction is invalid
|
||||
|
@ -230,6 +229,7 @@ Validating that jumps are to valid addresses takes two sequential passes over th
|
|||
}
|
||||
|
||||
// check that targets are in subroutine
|
||||
current_sub = 0
|
||||
for (PC = 0; instruction = bytecode[PC]; PC = advance_pc(PC))
|
||||
{
|
||||
if instruction is BEGINDATA
|
||||
|
|
Loading…
Reference in New Issue