1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 22:11:12 +02:00

Merge branch 'PHP-5.4' into PHP-5.5

Conflicts:
	Zend/zend_vm_gen.php
	Zend/zend_vm_opcodes.h
This commit is contained in:
Bob Weinand
2013-12-21 21:31:48 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1188,7 +1188,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");
}

View File

@@ -168,7 +168,7 @@
#define ZEND_FAST_CALL 162
#define ZEND_FAST_RET 163
const char *zend_vm_opcodes_map[] = {
static const char *zend_vm_opcodes_map[] = {
"ZEND_NOP",
"ZEND_ADD",
"ZEND_SUB",