Skip to content

Commit b184509

Browse files
committed
Remove redundant stack overflow check
1 parent ddff252 commit b184509

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spec/eof.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,6 @@ During scanning, for each instruction:
392392
3. If the successor is reached via backwards jump, check if target bounds equal the value computed in 2.3, i.e. `target_stack_min == current_stack_min && target_stack_max == current_stack_max`. Validation fails if they are not equal, i.e. we see backwards jump to a different stack height.
393393

394394
- Compute the maximum stack height `max_stack_height` as the maximum of all recorded stack height upper bounds.
395-
- **Check** if the maximum stack height `max_stack_height` does not exceed the limit of 1024.
396395
- Compute the maximum stack height increase `max_stack_increase` as `max_stack_height - type[current_section_index].inputs`.
397396
- **Check** if the maximum stack height increase `max_stack_increase` matches the value corresponding code section's within the type section: `types[current_section_index].max_stack_increase`.
398397

0 commit comments

Comments
 (0)