File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -964,24 +964,22 @@ Exiting :math:`\instr^\ast` with label :math:`L`
964
964
965
965
When the end of a block is reached without a jump or trap aborting it, then the following steps are performed.
966
966
967
- 1. Let :math: `n ` be the arity of :math: `L` .
967
+ 1. Let :math: `m ` be the number of values on the top of the stack .
968
968
969
- 2. Assert: due to :ref: ` validation < valid-instr-seq >`, there are : math: `n` values on the top of the stack.
969
+ 2. Pop the values : math: `\val ^m` from the stack.
970
970
971
- 3. Pop the results :math: `\val ^n` from the stack.
971
+ 3. Assert: due to :ref: ` validation < valid-instr-seq >`, the label :math: `L` is now on the top of the stack.
972
972
973
- 4. Assert: due to :ref: ` validation < valid-instr-seq >`, the label :math: `L` is now on the top of the stack.
973
+ 4. Pop the label from the stack.
974
974
975
- 5. Pop the label from the stack.
975
+ 5. Push :math: ` \val ^m` back to the stack.
976
976
977
- 6. Push :math: `\val ^n` back to the stack.
978
-
979
- 7. Jump to the position after the |END | of the :ref: `structured control instruction <syntax-instr-control >` associated with the label :math: `L`.
977
+ 6. Jump to the position after the |END | of the :ref: `structured control instruction <syntax-instr-control >` associated with the label :math: `L`.
980
978
981
979
.. math ::
982
980
~\\[-1 ex]
983
981
\begin {array}{lcl@{\qquad }l}
984
- \LABEL _n\{\instr ^\ast \}~\val ^n ~\END &\stepto & \val ^n
982
+ \LABEL _n\{\instr ^\ast \}~\val ^m ~\END &\stepto & \val ^m
985
983
\end {array}
986
984
987
985
.. note ::
You can’t perform that action at this time.
0 commit comments