Ignore:
Timestamp:
2012-07-22T08:57:08+02:00 (2 years ago)
Author:
moo
Message:

refactor: improve build, kill warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/processor.m4

    r964 r1027  
    654654#endif 
    655655            case ZEND_JMP: 
     656#ifdef ZEND_ENGINE_2 
    656657                assert(Z_OP(src->op1).jmp_addr >= processor->active_op_array_src->opcodes && Z_OP(src->op1).jmp_addr - processor->active_op_array_src->opcodes < processor->active_op_array_src->last); 
    657658                Z_OP(dst->op1).jmp_addr = processor->active_op_array_dst->opcodes + (Z_OP(src->op1).jmp_addr - processor->active_op_array_src->opcodes); 
    658659                assert(Z_OP(dst->op1).jmp_addr >= processor->active_op_array_dst->opcodes && Z_OP(dst->op1).jmp_addr - processor->active_op_array_dst->opcodes < processor->active_op_array_dst->last); 
     660#endif 
    659661                break; 
    660662 
     
    669671            case ZEND_JMP_SET_VAR: 
    670672#endif 
     673#ifdef ZEND_ENGINE_2 
    671674                assert(Z_OP(src->op2).jmp_addr >= processor->active_op_array_src->opcodes && Z_OP(src->op2).jmp_addr - processor->active_op_array_src->opcodes < processor->active_op_array_src->last); 
    672675                Z_OP(dst->op2).jmp_addr = processor->active_op_array_dst->opcodes + (Z_OP(src->op2).jmp_addr - processor->active_op_array_src->opcodes); 
    673676                assert(Z_OP(dst->op2).jmp_addr >= processor->active_op_array_dst->opcodes && Z_OP(dst->op2).jmp_addr - processor->active_op_array_dst->opcodes < processor->active_op_array_dst->last); 
     677#endif 
    674678                break; 
    675679 
     
    753757#endif 
    754758                    case ZEND_JMP: 
     759#ifdef ZEND_ENGINE_2 
    755760                        Z_OP(opline->op1).jmp_addr = &dst->opcodes[Z_OP(opline->op1).jmp_addr - src->opcodes]; 
     761#endif 
    756762                        break; 
    757763 
     
    766772            case ZEND_JMP_SET_VAR: 
    767773#endif 
     774#ifdef ZEND_ENGINE_2 
    768775                        Z_OP(opline->op2).jmp_addr = &dst->opcodes[Z_OP(opline->op2).jmp_addr - src->opcodes]; 
     776#endif 
    769777                        break; 
    770778 
Note: See TracChangeset for help on using the changeset viewer.