Browse Source

disable warning, only eanble it for debugging

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1594 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
master
Xuefer 6 years ago
parent
commit
65daa90a82
  1. 17
      processor/processor.m4

17
processor/processor.m4

@ -663,15 +663,16 @@ define(`UNION_znode_op', `dnl {{{
IFDASM(`{
zval *zv;
zval *srczv;
if (SRC(`$1.constant') >= dasm->active_op_array_src->last_literal) {
fprintf(stderr, "opcode %s $1 want literal %d\n", xc_get_opcode(SRC(`opcode')), SRC(`$1.constant'));
break;
PROCESS(zend_uint, $1.var)
if (SRC(`$1.constant') < dasm->active_op_array_src->last_literal) {
srczv = &dasm->active_op_array_src->literals[SRC(`$1.constant')].constant;
ALLOC_ZVAL(zv);
MAKE_COPY_ZVAL(&srczv, zv);
add_assoc_zval_ex(DST(), XCACHE_STRS("$1.constant"), zv);
}
else {
dnl fprintf(stderr, "opcode %s $1 want literal %d\n", xc_get_opcode(SRC(`opcode')), SRC(`$1.constant'));
}
srczv = &dasm->active_op_array_src->literals[SRC(`$1.constant')].constant;
ALLOC_ZVAL(zv);
MAKE_COPY_ZVAL(&srczv, zv);
add_assoc_zval_ex(DST(), XCACHE_STRS("$1.constant"), zv);
add_assoc_long_ex(DST(), XCACHE_STRS("$1.var"), SRC(`$1.constant'));
}
', `
IFCOPY(`

Loading…
Cancel
Save