Lines Matching refs:spec
627 function helper_name($name, $spec, $op1, $op2, $extra_spec) { argument
648 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].$extra;
651 function opcode_name($name, $spec, $op1, $op2) { argument
667 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2];
684 function gen_code($f, $spec, $kind, $export, $code, $op1, $op2, $name, $extra_spec=null) { argument
795 …"\\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_name(…
796 …"goto \\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2].extra_spec_…
838 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
842 …return "ZEND_VM_TAIL_CALL(" . opcode_name($matches[1], $spec, $op1, $op2) . "_HANDLER(ZEND_OPCODE_…
848 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(" . $ar…
850 …return "ZEND_VM_TAIL_CALL(" . helper_name($matches[1], $spec, $op1, $op2, $extra_spec) . "(ZEND_OP…
862 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
866 return "goto " . opcode_name($matches[1], $spec, $op1, $op2) . "_LABEL";
872 return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
874 return "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
886 function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
890 return "goto " . opcode_name($matches[1], $spec, $op1, $op2) . "_LABEL";
896 return $args . "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
898 return "goto " . helper_name($matches[1], $spec, $op1, $op2, $extra_spec);
906 if ($spec && preg_match_all('/^\s*zend_free_op\s+[^;]+;\s*$/m', $code, $matches, PREG_SET_ORDER)) {
978 function gen_handler($f, $spec, $kind, $name, $op1, $op2, $use, $code, $lineno, $opcode, $extra_spe… argument
981 if ($spec && skip_extra_spec_function($op1, $op2, $extra_spec)) {
990 …$spec_name = $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].($spec?extra_spec_name($extra_sp…
1005 if ($spec) {
1025 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name, $extra_spec);
1029 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno, $inline, $extra_sp… argument
1036 if ($spec && skip_extra_spec_function($op1, $op2, $extra_spec)) {
1044 …$spec_name = $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2].($spec?extra_spec_name($extra_sp…
1073 gen_code($f, $spec, $kind, 0, $code, $op1, $op2, $name, $extra_spec);
1092 function gen_labels($f, $spec, $kind, $prolog, &$specs, $switch_labels = array()) { argument
1097 if ($spec) {
1204 $foreach_extra_spec = function($do, $spec) use ($dsc) {
1205 return function($op1, $op2, $extra_spec = array()) use ($do, $spec, $dsc) {
1206 foreach ($dsc["spec"][$spec] as $val) {
1207 $do($op1, $op2, array($spec => $val) + $extra_spec);
1441 $spec = key($specs);
1451 $ret[] = array($spec => $mode) + $existing;
1460 function gen_executor_code($f, $spec, $kind, $prolog, &$switch_labels = array()) { argument
1463 if ($spec) {
1561 function gen_executor($f, $skl, $spec, $kind, $executor_name, $initializer_name) { argument
1686 …out($f,"#define ZEND_VM_INTERRUPT() ZEND_VM_TAIL_CALL(zend_interrupt_helper".($spec?"_SPEC":"…
1687 …out($f,"#define ZEND_VM_LOOP_INTERRUPT() zend_interrupt_helper".($spec?"_SPEC":"")."(ZEND_OPCODE_H…
1694 …out($f,"static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_interrupt_helper".($spec?"_SPEC":"")."(Z…
1723 …out($f,"#define ZEND_VM_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";…
1724 …out($f,"#define ZEND_VM_LOOP_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";…
1759 …out($f,"#define ZEND_VM_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";…
1760 …out($f,"#define ZEND_VM_LOOP_INTERRUPT() goto zend_interrupt_helper".($spec?"_SPEC":"").";…
1766 gen_executor_code($f, $spec, ZEND_VM_KIND_CALL, $m[1]);
1808 …gen_labels($f, $spec, ($kind == ZEND_VM_KIND_HYBRID) ? ZEND_VM_KIND_GOTO : $kind, $prolog."\t\t", …
1872 gen_executor_code($f, $spec, $kind, $m[1], $switch_labels);
1904 gen_executor_code($f, $spec, $kind, $m[1]);
1923 …gen_labels($f, $spec, ($kind == ZEND_VM_KIND_HYBRID) ? ZEND_VM_KIND_CALL : $kind, $prolog."\t", $s…