level++;
} else if (p->op == ZEND_JIT_TRACE_BACK) {
if (level == 0) {
- // Phi for recursive calls and returns are not supporte yet ???
+ // Phi for recursive calls and returns are not supported yet ???
assert(0);
} else {
level--;
}
} else if (p->op == ZEND_JIT_TRACE_BACK) {
if (level == 0) {
- stack_bottom += zend_jit_trace_frame_size(op_array);;
+ stack_bottom += zend_jit_trace_frame_size(op_array);
jit_extension =
(zend_jit_op_array_trace_extension*)ZEND_FUNC_INFO(op_array);
ssa = &jit_extension->func_info.ssa;
}
if (trace_buffer->stop == ZEND_JIT_TRACE_STOP_LOOP) {
- /* Propagae initial value through Phi functions */
+ /* Propagate initial value through Phi functions */
zend_ssa_phi *phi = tssa->blocks[1].phis;
while (phi) {
}
frame->call = call->prev;
call->prev = frame;
- call->return_ssa_var = find_return_ssa_var(p - 1, ssa_ops + (idx -1));
+ call->return_ssa_var = find_return_ssa_var(p - 1, ssa_ops + (idx - 1));
frame = call;
level++;
* +--------+----------+----------+----------++----------+----------+----------+
*
* loop: LOOP if "cycle" and level == 0, otherwise INNER_LOOP
- * INNER_LOOP: abort recording and start new one (wit for loop)
+ * INNER_LOOP: abort recording and start new one (wait for loop)
* COMPILED: abort recording (wait while side exit creates outer loop)
* unroll: continue recording while unroll limit reached
* rec-call: RECURSIVE_CALL if "cycle" and level > N, otherwise continue
((zend_jit_trace_start_rec*)trace_buffer)->opline = opline;
is_toplevel = EX(func)->op_array.function_name == NULL;
-
if (prev_call) {
idx = zend_jit_trace_record_fake_init_call(prev_call, trace_buffer, idx);
}