Skip to content

Commit 887c6af

Browse files
committed
Update Trace Linking Rules comment
1 parent 2e70a89 commit 887c6af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/opcache/jit/zend_jit_vm_helpers.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -615,9 +615,9 @@ static int zend_jit_trace_subtrace(zend_jit_trace_rec *trace_buffer, int start,
615615
*
616616
* flags
617617
* +----------+----------+----------++----------+----------+----------+
618-
* | || JIT |
618+
* | || When meeting a JIT'ed opline |
619619
* +----------+----------+----------++----------+----------+----------+
620-
* start | LOOP | ENTER | RETURN || LOOP | ENTER | RETURN |
620+
* start v | LOOP | ENTER | RETURN || LOOP | ENTER | RETURN |
621621
* +========+==========+==========+==========++==========+==========+==========+
622622
* | LOOP | loop | | loop-ret || COMPILED | LINK | LINK |
623623
* +--------+----------+----------+----------++----------+----------+----------+
@@ -637,7 +637,7 @@ static int zend_jit_trace_subtrace(zend_jit_trace_rec *trace_buffer, int start,
637637
* return: RETURN if level == 0
638638
* rec_ret: RECURSIVE_RET if "cycle" and ret_level > N, otherwise continue
639639
* side_ret: RETURN if level == 0 && ret_level == ret_depth, otherwise continue
640-
*
640+
* LINK: stop recording. End of new trace jumps to the other one.
641641
*/
642642

643643
zend_jit_trace_stop ZEND_FASTCALL zend_jit_trace_execute(zend_execute_data *ex,

0 commit comments

Comments
 (0)