mirror of
https://github.com/php/php-src.git
synced 2026-04-21 06:51:18 +02:00
Fixed build...
This commit is contained in:
@@ -1209,7 +1209,7 @@ function gen_vm($def, $skel) {
|
||||
fputs($f,"#define $op $code\n");
|
||||
}
|
||||
|
||||
fputs($f,"\nconst char *zend_vm_opcodes_map[] = {\n");
|
||||
fputs($f,"\nstatic const char *zend_vm_opcodes_map[] = {\n");
|
||||
for ($i = 0; $i <= $max_opcode; $i++) {
|
||||
fputs($f,"\t".(isset($opcodes[$i]["op"])?'"'.$opcodes[$i]["op"].'"':"NULL").",\n");
|
||||
}
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
#define ZEND_QM_ASSIGN_VAR 157
|
||||
#define ZEND_JMP_SET_VAR 158
|
||||
|
||||
const char *zend_vm_opcodes_map[] = {
|
||||
static const char *zend_vm_opcodes_map[] = {
|
||||
"ZEND_NOP",
|
||||
"ZEND_ADD",
|
||||
"ZEND_SUB",
|
||||
|
||||
Reference in New Issue
Block a user