Lines Matching refs:prolog

1216 function gen_null_label($f, $kind, $prolog) {  argument
1219 out($f,$prolog."ZEND_NULL_HANDLER,\n");
1222 out($f,$prolog."(void*)(uintptr_t)-1,\n");
1225 out($f,$prolog."(void*)&&ZEND_NULL_LABEL,\n");
1231 function gen_labels($f, $spec, $kind, $prolog, &$specs, $switch_labels = array()) { argument
1374 …tion ($op1, $op2, $extra_spec = array()) use ($f, $kind, $dsc, $prefix, $prolog, $num, $switch_lab…
1383 gen_null_label($f, $kind, $prolog);
1421 out($f,"$prolog{$spec_name}_HANDLER,\n");
1424 out($f,$prolog."(void*)(uintptr_t)$switch_labels[$spec_name],\n");
1427 out($f,$prolog."(void*)&&{$spec_name}_LABEL,\n");
1434 gen_null_label($f, $kind, $prolog);
1469 out($f,$prolog."ZEND_NULL_HANDLER,\n");
1472 out($f,$prolog."(void*)(uintptr_t)-1,\n");
1475 out($f,$prolog."(void*)&&ZEND_NULL_LABEL,\n");
1489 out($f,$prolog.$dsc['alias']."_HANDLER,\n");
1492 out($f,$prolog."(void*)&&".$dsc['alias']."_LABEL,\n");
1500 out($f,$prolog.$dsc["op"]."_HANDLER,\n");
1503 out($f,$prolog."(void*)(uintptr_t)".((string)$num).",\n");
1506 out($f,$prolog."(void*)&&".$dsc["op"]."_LABEL,\n");
1513 out($f,$prolog."ZEND_NULL_HANDLER,\n");
1516 out($f,$prolog."(void*)(uintptr_t)-1,\n");
1519 out($f,$prolog."(void*)&&ZEND_NULL_LABEL,\n");
1530 out($f,$prolog."ZEND_NULL_HANDLER\n");
1533 out($f,$prolog."(void*)(uintptr_t)-1\n");
1536 out($f,$prolog."(void*)&&ZEND_NULL_LABEL\n");
1553 function gen_specs($f, $prolog, $specs) { argument
1558 out($f, "$prolog$lastdef,\n");
1561 out($f, "$prolog$def,\n");
1563 out($f, "$prolog$lastdef\n");
1702 function gen_executor_code($f, $spec, $kind, $prolog, &$switch_labels = array()) { argument
1809 function skip_blanks($f, $prolog, $epilog) { argument
1810 if (trim($prolog) != "" || trim($epilog) != "") {
1811 out($f, $prolog.$epilog);
2117 $prolog = $m[1];
2118 out($f,$prolog."if (UNEXPECTED(execute_data == NULL)) {\n");
2119 out($f,$prolog."\tstatic const void * const labels[] = {\n");
2120 …els($f, $spec, ($kind == ZEND_VM_KIND_HYBRID) ? ZEND_VM_KIND_GOTO : $kind, $prolog."\t\t", $specs);
2121 out($f,$prolog."\t};\n");
2122 out($f,$prolog."\tzend_opcode_handlers = (const void **) labels;\n");
2123 out($f,$prolog."\tzend_handlers_count = sizeof(labels) / sizeof(void*);\n");
2125 … out($f,$prolog."\tmemset(&hybrid_halt_op, 0, sizeof(hybrid_halt_op));\n");
2126 … out($f,$prolog."\thybrid_halt_op.handler = (void*)&&HYBRID_HALT_LABEL;\n");
2127 out($f,$prolog."\tgoto HYBRID_HALT_LABEL;\n");
2129 out($f,$prolog."\treturn;\n");
2131 out($f,$prolog."}\n");
2224 $prolog = $m[1];
2228 out($f,$prolog."static const uint32_t specs[] = {\n");
2229 gen_specs($f, $prolog."\t", $specs);
2230 out($f,$prolog."};\n");
2231 out($f,$prolog."zend_spec_handlers = specs;\n");
2232 out($f,$prolog.$executor_name."_ex(NULL);\n");
2234 out($f,$prolog."static const void * const labels[] = {\n");
2235 …($f, $spec, ($kind == ZEND_VM_KIND_HYBRID) ? ZEND_VM_KIND_CALL : $kind, $prolog."\t", $specs, $swi…
2236 out($f,$prolog."};\n");
2237 out($f,$prolog."static const uint32_t specs[] = {\n");
2238 gen_specs($f, $prolog."\t", $specs);
2239 out($f,$prolog."};\n");
2242 out($f,$prolog."zend_opcode_handler_funcs = labels;\n");
2243 out($f,$prolog."zend_spec_handlers = specs;\n");
2244 out($f,$prolog.$executor_name."_ex(NULL);\n");
2247 out($f,$prolog."zend_opcode_handlers = labels;\n");
2248 out($f,$prolog."zend_handlers_count = sizeof(labels) / sizeof(void*);\n");
2249 out($f,$prolog."zend_spec_handlers = specs;\n");