-
Extend
BEGINSUBspecification with third parametermax_frame_size-- the maximum size of the stack frame the subroutine is allowed to use. -
In the Validity section, after condition 6 add new conditions:
6a. For JUMPSUB and JUMPSUBV the frame size + the
max_frame_sizeof the BEGINSUB(s) to jump to is not greater than 1024.6b. The frame size is not greater than the
max_frame_sizeof the enclosing subroutine. -
In the Validating subroutines section, after