Lines Matching refs:prolog

1181 function gen_null_label($f, $kind, $prolog) {  argument
1184 out($f,$prolog."ZEND_NULL_HANDLER,\n");
1187 out($f,$prolog."(void*)(uintptr_t)-1,\n");
1190 out($f,$prolog."(void*)&&ZEND_NULL_LABEL,\n");
1196 function gen_labels($f, $spec, $kind, $prolog, &$specs, $switch_labels = array()) { argument
1339 …tion ($op1, $op2, $extra_spec = array()) use ($f, $kind, $dsc, $prefix, $prolog, $num, $switch_lab…
1348 gen_null_label($f, $kind, $prolog);
1386 out($f,"$prolog{$spec_name}_HANDLER,\n");
1389 out($f,$prolog."(void*)(uintptr_t)$switch_labels[$spec_name],\n");
1392 out($f,$prolog."(void*)&&{$spec_name}_LABEL,\n");
1399 gen_null_label($f, $kind, $prolog);
1434 out($f,$prolog."ZEND_NULL_HANDLER,\n");
1437 out($f,$prolog."(void*)(uintptr_t)-1,\n");
1440 out($f,$prolog."(void*)&&ZEND_NULL_LABEL,\n");
1454 out($f,$prolog.$dsc['alias']."_HANDLER,\n");
1457 out($f,$prolog."(void*)&&".$dsc['alias']."_LABEL,\n");
1465 out($f,$prolog.$dsc["op"]."_HANDLER,\n");
1468 out($f,$prolog."(void*)(uintptr_t)".((string)$num).",\n");
1471 out($f,$prolog."(void*)&&".$dsc["op"]."_LABEL,\n");
1478 out($f,$prolog."ZEND_NULL_HANDLER,\n");
1481 out($f,$prolog."(void*)(uintptr_t)-1,\n");
1484 out($f,$prolog."(void*)&&ZEND_NULL_LABEL,\n");
1495 out($f,$prolog."ZEND_NULL_HANDLER\n");
1498 out($f,$prolog."(void*)(uintptr_t)-1\n");
1501 out($f,$prolog."(void*)&&ZEND_NULL_LABEL\n");
1518 function gen_specs($f, $prolog, $specs) { argument
1523 out($f, "$prolog$lastdef,\n");
1526 out($f, "$prolog$def,\n");
1529 out($f, "$prolog$lastdef,\n");
1669 function gen_executor_code($f, $spec, $kind, $prolog, &$switch_labels = array()) { argument
1776 function skip_blanks($f, $prolog, $epilog) { argument
1777 if (trim($prolog) != "" || trim($epilog) != "") {
1778 out($f, $prolog.$epilog);
2078 $prolog = $m[1];
2079 out($f,$prolog."if (UNEXPECTED(execute_data == NULL)) {\n");
2080 out($f,$prolog."\tstatic const void * const labels[] = {\n");
2081 …els($f, $spec, ($kind == ZEND_VM_KIND_HYBRID) ? ZEND_VM_KIND_GOTO : $kind, $prolog."\t\t", $specs);
2082 out($f,$prolog."\t};\n");
2083 out($f,$prolog."\tzend_opcode_handlers = (const void **) labels;\n");
2084 out($f,$prolog."\tzend_handlers_count = sizeof(labels) / sizeof(void*);\n");
2086 … out($f,$prolog."\tmemset(&hybrid_halt_op, 0, sizeof(hybrid_halt_op));\n");
2087 … out($f,$prolog."\thybrid_halt_op.handler = (void*)&&HYBRID_HALT_LABEL;\n");
2089 …out($f,$prolog."\tmemset(vm_stack_data.hybrid_jit_red_zone, 0, ZEND_VM_HYBRID_JIT_RED_ZONE_SIZE);\…
2091 out($f,$prolog."\tif (zend_touch_vm_stack_data) {\n");
2092 out($f,$prolog."\t\tzend_touch_vm_stack_data(&vm_stack_data);\n");
2093 out($f,$prolog."\t}\n");
2094 out($f,$prolog."\tgoto HYBRID_HALT_LABEL;\n");
2096 out($f,$prolog."\treturn;\n");
2098 out($f,$prolog."}\n");
2191 $prolog = $m[1];
2195 out($f,$prolog."static const uint32_t specs[] = {\n");
2196 gen_specs($f, $prolog."\t", $specs);
2197 out($f,$prolog."};\n");
2198 out($f,$prolog."zend_spec_handlers = specs;\n");
2199 out($f,$prolog.$executor_name."_ex(NULL);\n");
2201 out($f,$prolog."static const void * const labels[] = {\n");
2202 …($f, $spec, ($kind == ZEND_VM_KIND_HYBRID) ? ZEND_VM_KIND_CALL : $kind, $prolog."\t", $specs, $swi…
2203 out($f,$prolog."};\n");
2204 out($f,$prolog."static const uint32_t specs[] = {\n");
2205 gen_specs($f, $prolog."\t", $specs);
2206 out($f,$prolog."};\n");
2209 out($f,$prolog."zend_opcode_handler_funcs = labels;\n");
2210 out($f,$prolog."zend_spec_handlers = specs;\n");
2211 out($f,$prolog.$executor_name."_ex(NULL);\n");
2214 out($f,$prolog."zend_opcode_handlers = labels;\n");
2215 out($f,$prolog."zend_handlers_count = sizeof(labels) / sizeof(void*);\n");
2216 out($f,$prolog."zend_spec_handlers = specs;\n");