Lines Matching refs:prolog
589 function gen_labels($f, $spec, $kind, $prolog) { argument
612 out($f,$prolog."ZEND_NULL_HANDLER,\n");
615 out($f,$prolog."(opcode_handler_t)-1,\n");
618 out($f,$prolog."(opcode_handler_t)&&ZEND_NULL_HANDLER,\n");
650 out($f,$prolog.$dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2]."_HANDLER,\n");
653 … out($f,$prolog."(opcode_handler_t)".((string)($num*25+$typecode[$op1]*5+$typecode[$op2])).",\n");
656 …out($f,$prolog."(opcode_handler_t)&&".$dsc["op"]."_SPEC".$prefix[$op1].$prefix[$op2]."_HANDLER,\n"…
663 out($f,$prolog."ZEND_NULL_HANDLER,\n");
666 out($f,$prolog."(opcode_handler_t)-1,\n");
669 out($f,$prolog."(opcode_handler_t)&&ZEND_NULL_HANDLER,\n");
688 out($f,$prolog."ZEND_NULL_HANDLER,\n");
691 out($f,$prolog."(opcode_handler_t)-1,\n");
694 out($f,$prolog."(opcode_handler_t)&&ZEND_NULL_HANDLER,\n");
703 out($f,$prolog.$dsc["op"]."_HANDLER,\n");
706 out($f,$prolog."(opcode_handler_t)".((string)$num).",\n");
709 out($f,$prolog."(opcode_handler_t)&&".$dsc["op"]."_HANDLER,\n");
718 out($f,$prolog."ZEND_NULL_HANDLER\n");
721 out($f,$prolog."(opcode_handler_t)-1\n");
724 out($f,$prolog."(opcode_handler_t)&&ZEND_NULL_HANDLER\n");
746 function gen_executor_code($f, $spec, $kind, $prolog) { argument
825 function skip_blanks($f, $prolog, $epilog) { argument
826 if (trim($prolog) != "" || trim($epilog) != "") {
827 out($f, $prolog.$epilog);
953 $prolog = $m[1];
954 out($f,$prolog."if (execute_data == NULL) {\n");
955 out($f,$prolog."\tstatic const opcode_handler_t labels[] = {\n");
956 gen_labels($f, $spec, $kind, $prolog."\t\t");
957 out($f,$prolog."\t};\n");
958 out($f,$prolog."\tzend_opcode_handlers = (opcode_handler_t*)labels;\n");
959 out($f,$prolog."\treturn;\n");
960 out($f,$prolog."}\n");
1026 $prolog = $m[1];
1030 out($f,$prolog."TSRMLS_FETCH();\n");
1031 out($f,$prolog.$executor_name."_ex(NULL TSRMLS_CC);\n");
1035 out($f,$prolog."static opcode_handler_t labels[512] = {\n");
1037 out($f,$prolog."static const opcode_handler_t labels[] = {\n");
1039 gen_labels($f, $spec, $kind, $prolog."\t");
1040 out($f,$prolog."};\n");
1041 out($f,$prolog."zend_opcode_handlers = (opcode_handler_t*)labels;\n");
1044 out($f,$prolog."zend_vm_old_executor = 1;\n");
1045 out($f,$prolog."zend_execute = old_execute;\n");