Changeset 772 for branches/1.3
- Timestamp:
- 2011-04-18T11:25:37+02:00 (2 years ago)
- Location:
- branches/1.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3
-
branches/1.3/utils.c
r766 r772 150 150 #endif 151 151 case ZEND_JMP: 152 assert(Z_OP(opline->op1).jmp_addr - op_array->opcodes < op_array->last); 152 153 Z_OP(opline->op1).opline_num = Z_OP(opline->op1).jmp_addr - op_array->opcodes; 153 assert(Z_OP(opline->op1).opline_num < op_array->last);154 154 break; 155 155 case ZEND_JMPZ: … … 160 160 case ZEND_JMP_SET: 161 161 #endif 162 assert(Z_OP(opline->op2).jmp_addr - op_array->opcodes < op_array->last); 162 163 Z_OP(opline->op2).opline_num = Z_OP(opline->op2).jmp_addr - op_array->opcodes; 163 assert(Z_OP(opline->op2).opline_num < op_array->last);164 164 break; 165 165 } … … 234 234 235 235 #ifdef HAVE_XCACHE_OPCODE_SPEC_DEF 236 static void xc_fix_opcode_ex_znode(int tofix, xc_op_spec_t spec, zend_uchar*op_type, znode_op *op, int type TSRMLS_DC) /* {{{ */236 static void xc_fix_opcode_ex_znode(int tofix, xc_op_spec_t spec, Z_OP_TYPEOF_TYPE *op_type, znode_op *op, int type TSRMLS_DC) /* {{{ */ 237 237 { 238 238 #ifdef ZEND_ENGINE_2 -
branches/1.3/xcache.h
r738 r772 97 97 # define Z_OP_CONSTANT(op) (op).literal->constant 98 98 # define Z_OP_TYPE(op) op##_##type 99 # define Z_OP_TYPEOF_TYPE zend_uchar 99 100 100 101 # define Z_CLASS_INFO(className) (className).info.user … … 103 104 # define Z_OP_CONSTANT(op) (op).u.constant 104 105 # define Z_OP_TYPE(op) (op).op_type 106 # define Z_OP_TYPEOF_TYPE int 105 107 typedef znode znode_op; 106 108
Note: See TracChangeset
for help on using the changeset viewer.

