Lines Matching refs:prolog

1218 function gen_null_label($f, $kind, $prolog) {  argument
1221 out($f,$prolog."ZEND_NULL_HANDLER,\n");
1224 out($f,$prolog."(void*)(uintptr_t)-1,\n");
1227 out($f,$prolog."(void*)&&ZEND_NULL_LABEL,\n");
1233 function gen_labels($f, $spec, $kind, $prolog, &$specs, $switch_labels = array()) { argument
1376 …tion ($op1, $op2, $extra_spec = array()) use ($f, $kind, $dsc, $prefix, $prolog, $num, $switch_lab…
1385 gen_null_label($f, $kind, $prolog);
1423 out($f,"$prolog{$spec_name}_HANDLER,\n");
1426 out($f,$prolog."(void*)(uintptr_t)$switch_labels[$spec_name],\n");
1429 out($f,$prolog."(void*)&&{$spec_name}_LABEL,\n");
1436 gen_null_label($f, $kind, $prolog);
1471 out($f,$prolog."ZEND_NULL_HANDLER,\n");
1474 out($f,$prolog."(void*)(uintptr_t)-1,\n");
1477 out($f,$prolog."(void*)&&ZEND_NULL_LABEL,\n");
1491 out($f,$prolog.$dsc['alias']."_HANDLER,\n");
1494 out($f,$prolog."(void*)&&".$dsc['alias']."_LABEL,\n");
1502 out($f,$prolog.$dsc["op"]."_HANDLER,\n");
1505 out($f,$prolog."(void*)(uintptr_t)".((string)$num).",\n");
1508 out($f,$prolog."(void*)&&".$dsc["op"]."_LABEL,\n");
1515 out($f,$prolog."ZEND_NULL_HANDLER,\n");
1518 out($f,$prolog."(void*)(uintptr_t)-1,\n");
1521 out($f,$prolog."(void*)&&ZEND_NULL_LABEL,\n");
1532 out($f,$prolog."ZEND_NULL_HANDLER\n");
1535 out($f,$prolog."(void*)(uintptr_t)-1\n");
1538 out($f,$prolog."(void*)&&ZEND_NULL_LABEL\n");
1555 function gen_specs($f, $prolog, $specs) { argument
1560 out($f, "$prolog$lastdef,\n");
1563 out($f, "$prolog$def,\n");
1565 out($f, "$prolog$lastdef\n");
1704 function gen_executor_code($f, $spec, $kind, $prolog, &$switch_labels = array()) { argument
1811 function skip_blanks($f, $prolog, $epilog) { argument
1812 if (trim($prolog) != "" || trim($epilog) != "") {
1813 out($f, $prolog.$epilog);
2113 $prolog = $m[1];
2114 out($f,$prolog."if (UNEXPECTED(execute_data == NULL)) {\n");
2115 out($f,$prolog."\tstatic const void * const labels[] = {\n");
2116 …els($f, $spec, ($kind == ZEND_VM_KIND_HYBRID) ? ZEND_VM_KIND_GOTO : $kind, $prolog."\t\t", $specs);
2117 out($f,$prolog."\t};\n");
2118 out($f,$prolog."\tzend_opcode_handlers = (const void **) labels;\n");
2119 out($f,$prolog."\tzend_handlers_count = sizeof(labels) / sizeof(void*);\n");
2121 … out($f,$prolog."\tmemset(&hybrid_halt_op, 0, sizeof(hybrid_halt_op));\n");
2122 … out($f,$prolog."\thybrid_halt_op.handler = (void*)&&HYBRID_HALT_LABEL;\n");
2124 …out($f,$prolog."\tmemset(vm_stack_data.hybrid_jit_red_zone, 0, ZEND_VM_HYBRID_JIT_RED_ZONE_SIZE);\…
2126 out($f,$prolog."\tif (zend_touch_vm_stack_data) {\n");
2127 out($f,$prolog."\t\tzend_touch_vm_stack_data(&vm_stack_data);\n");
2128 out($f,$prolog."\t}\n");
2129 out($f,$prolog."\tgoto HYBRID_HALT_LABEL;\n");
2131 out($f,$prolog."\treturn;\n");
2133 out($f,$prolog."}\n");
2226 $prolog = $m[1];
2230 out($f,$prolog."static const uint32_t specs[] = {\n");
2231 gen_specs($f, $prolog."\t", $specs);
2232 out($f,$prolog."};\n");
2233 out($f,$prolog."zend_spec_handlers = specs;\n");
2234 out($f,$prolog.$executor_name."_ex(NULL);\n");
2236 out($f,$prolog."static const void * const labels[] = {\n");
2237 …($f, $spec, ($kind == ZEND_VM_KIND_HYBRID) ? ZEND_VM_KIND_CALL : $kind, $prolog."\t", $specs, $swi…
2238 out($f,$prolog."};\n");
2239 out($f,$prolog."static const uint32_t specs[] = {\n");
2240 gen_specs($f, $prolog."\t", $specs);
2241 out($f,$prolog."};\n");
2244 out($f,$prolog."zend_opcode_handler_funcs = labels;\n");
2245 out($f,$prolog."zend_spec_handlers = specs;\n");
2246 out($f,$prolog.$executor_name."_ex(NULL);\n");
2249 out($f,$prolog."zend_opcode_handlers = labels;\n");
2250 out($f,$prolog."zend_handlers_count = sizeof(labels) / sizeof(void*);\n");
2251 out($f,$prolog."zend_spec_handlers = specs;\n");