Lines Matching refs:prolog

1183 function gen_null_label($f, $kind, $prolog) {  argument
1186 out($f,$prolog."ZEND_NULL_HANDLER,\n");
1189 out($f,$prolog."(void*)(uintptr_t)-1,\n");
1192 out($f,$prolog."(void*)&&ZEND_NULL_LABEL,\n");
1198 function gen_labels($f, $spec, $kind, $prolog, &$specs, $switch_labels = array()) { argument
1341 …tion ($op1, $op2, $extra_spec = array()) use ($f, $kind, $dsc, $prefix, $prolog, $num, $switch_lab…
1350 gen_null_label($f, $kind, $prolog);
1388 out($f,"$prolog{$spec_name}_HANDLER,\n");
1391 out($f,$prolog."(void*)(uintptr_t)$switch_labels[$spec_name],\n");
1394 out($f,$prolog."(void*)&&{$spec_name}_LABEL,\n");
1401 gen_null_label($f, $kind, $prolog);
1436 out($f,$prolog."ZEND_NULL_HANDLER,\n");
1439 out($f,$prolog."(void*)(uintptr_t)-1,\n");
1442 out($f,$prolog."(void*)&&ZEND_NULL_LABEL,\n");
1456 out($f,$prolog.$dsc['alias']."_HANDLER,\n");
1459 out($f,$prolog."(void*)&&".$dsc['alias']."_LABEL,\n");
1467 out($f,$prolog.$dsc["op"]."_HANDLER,\n");
1470 out($f,$prolog."(void*)(uintptr_t)".((string)$num).",\n");
1473 out($f,$prolog."(void*)&&".$dsc["op"]."_LABEL,\n");
1480 out($f,$prolog."ZEND_NULL_HANDLER,\n");
1483 out($f,$prolog."(void*)(uintptr_t)-1,\n");
1486 out($f,$prolog."(void*)&&ZEND_NULL_LABEL,\n");
1497 out($f,$prolog."ZEND_NULL_HANDLER\n");
1500 out($f,$prolog."(void*)(uintptr_t)-1\n");
1503 out($f,$prolog."(void*)&&ZEND_NULL_LABEL\n");
1520 function gen_specs($f, $prolog, $specs) { argument
1525 out($f, "$prolog$lastdef,\n");
1528 out($f, "$prolog$def,\n");
1531 out($f, "$prolog$lastdef,\n");
1671 function gen_executor_code($f, $spec, $kind, $prolog, &$switch_labels = array()) { argument
1779 function skip_blanks($f, $prolog, $epilog) { argument
1780 if (trim($prolog) != "" || trim($epilog) != "") {
1781 out($f, $prolog.$epilog);
2093 $prolog = $m[1];
2094 out($f,$prolog."if (UNEXPECTED(execute_data == NULL)) {\n");
2095 out($f,$prolog."\tstatic const void * const labels[] = {\n");
2096 …els($f, $spec, ($kind == ZEND_VM_KIND_HYBRID) ? ZEND_VM_KIND_GOTO : $kind, $prolog."\t\t", $specs);
2097 out($f,$prolog."\t};\n");
2098 out($f,$prolog."\tzend_opcode_handlers = (const void **) labels;\n");
2099 out($f,$prolog."\tzend_handlers_count = sizeof(labels) / sizeof(void*);\n");
2101 … out($f,$prolog."\tmemset(&hybrid_halt_op, 0, sizeof(hybrid_halt_op));\n");
2102 … out($f,$prolog."\thybrid_halt_op.handler = (void*)&&HYBRID_HALT_LABEL;\n");
2104 …out($f,$prolog."\tmemset(vm_stack_data.hybrid_jit_red_zone, 0, ZEND_VM_HYBRID_JIT_RED_ZONE_SIZE);\…
2106 out($f,$prolog."\tif (zend_touch_vm_stack_data) {\n");
2107 out($f,$prolog."\t\tzend_touch_vm_stack_data(&vm_stack_data);\n");
2108 out($f,$prolog."\t}\n");
2109 out($f,$prolog."\tgoto HYBRID_HALT_LABEL;\n");
2111 out($f,$prolog."\treturn;\n");
2113 out($f,$prolog."}\n");
2206 $prolog = $m[1];
2210 out($f,$prolog."static const uint32_t specs[] = {\n");
2211 gen_specs($f, $prolog."\t", $specs);
2212 out($f,$prolog."};\n");
2213 out($f,$prolog."zend_spec_handlers = specs;\n");
2214 out($f,$prolog.$executor_name."_ex(NULL);\n");
2216 out($f,$prolog."static const void * const labels[] = {\n");
2217 …($f, $spec, ($kind == ZEND_VM_KIND_HYBRID) ? ZEND_VM_KIND_CALL : $kind, $prolog."\t", $specs, $swi…
2218 out($f,$prolog."};\n");
2219 out($f,$prolog."static const uint32_t specs[] = {\n");
2220 gen_specs($f, $prolog."\t", $specs);
2221 out($f,$prolog."};\n");
2224 out($f,$prolog."zend_opcode_handler_funcs = labels;\n");
2225 out($f,$prolog."zend_spec_handlers = specs;\n");
2226 out($f,$prolog.$executor_name."_ex(NULL);\n");
2229 out($f,$prolog."zend_opcode_handlers = labels;\n");
2230 out($f,$prolog."zend_handlers_count = sizeof(labels) / sizeof(void*);\n");
2231 out($f,$prolog."zend_spec_handlers = specs;\n");