Skip to content

Commit

Permalink
Fixed GOTO executor
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Apr 9, 2015
1 parent ea0b14f commit 690843f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Zend/zend_vm_gen.php
Original file line number Diff line number Diff line change
Expand Up @@ -1531,6 +1531,12 @@ function gen_vm($def, $skel) {
out($f, "#endif\n");
out($f, "\treturn ret;\n");
out($f, "}\n\n");
} else {
out($f, "ZEND_API int zend_vm_call_opcode_handler(zend_execute_data* ex)\n");
out($f, "{\n");
out($f, "\tzend_error_noreturn(E_CORE_ERROR, \"zend_vm_call_opcode_handler() is not supported\");\n");
out($f, "\treturn 0;\n");
out($f, "}\n\n");
}

// Export handlers and helpers
Expand Down

0 comments on commit 690843f

Please sign in to comment.