Lines Matching refs:prolog

562 function gen_labels($f, $spec, $kind, $prolog) {  argument
585 out($f,$prolog."ZEND_NULL_HANDLER,\n");
588 out($f,$prolog."(opcode_handler_t)-1,\n");
591 out($f,$prolog."(opcode_handler_t)&&ZEND_NULL_HANDLER,\n");
623 out($f,$prolog.$dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2]."_HANDLER,\n");
626 … out($f,$prolog."(opcode_handler_t)".((string)($num*25+$typecode[$op1]*5+$typecode[$op2])).",\n");
629 …out($f,$prolog."(opcode_handler_t)&&".$dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2]."_HANDLER,\n"…
636 out($f,$prolog."ZEND_NULL_HANDLER,\n");
639 out($f,$prolog."(opcode_handler_t)-1,\n");
642 out($f,$prolog."(opcode_handler_t)&&ZEND_NULL_HANDLER,\n");
661 out($f,$prolog."ZEND_NULL_HANDLER,\n");
664 out($f,$prolog."(opcode_handler_t)-1,\n");
667 out($f,$prolog."(opcode_handler_t)&&ZEND_NULL_HANDLER,\n");
676 out($f,$prolog.$dsc["op"]."_HANDLER,\n");
679 out($f,$prolog."(opcode_handler_t)".((string)$num).",\n");
682 out($f,$prolog."(opcode_handler_t)&&".$dsc["op"]."_HANDLER,\n");
691 out($f,$prolog."ZEND_NULL_HANDLER\n");
694 out($f,$prolog."(opcode_handler_t)-1\n");
697 out($f,$prolog."(opcode_handler_t)&&ZEND_NULL_HANDLER\n");
719 function gen_executor_code($f, $spec, $kind, $prolog) { argument
798 function skip_blanks($f, $prolog, $epilog) { argument
799 if (trim($prolog) != "" || trim($epilog) != "") {
800 out($f, $prolog.$epilog);
926 $prolog = $m[1];
927 out($f,$prolog."if (execute_data == NULL) {\n");
928 out($f,$prolog."\tstatic const opcode_handler_t labels[] = {\n");
929 gen_labels($f, $spec, $kind, $prolog."\t\t");
930 out($f,$prolog."\t};\n");
931 out($f,$prolog."\tzend_opcode_handlers = (opcode_handler_t*)labels;\n");
932 out($f,$prolog."\treturn;\n");
933 out($f,$prolog."}\n");
999 $prolog = $m[1];
1003 out($f,$prolog."TSRMLS_FETCH();\n");
1004 out($f,$prolog.$executor_name."_ex(NULL TSRMLS_CC);\n");
1008 out($f,$prolog."static opcode_handler_t labels[512] = {\n");
1010 out($f,$prolog."static const opcode_handler_t labels[] = {\n");
1012 gen_labels($f, $spec, $kind, $prolog."\t");
1013 out($f,$prolog."};\n");
1014 out($f,$prolog."zend_opcode_handlers = (opcode_handler_t*)labels;\n");
1017 out($f,$prolog."zend_vm_old_executor = 1;\n");
1018 out($f,$prolog."zend_execute = old_execute;\n");