Changeset 515 for trunk/utils.c


Ignore:
Timestamp:
2008-01-05T12:52:35+01:00 (7 years ago)
Author:
moo
Message:

PHP_6: added goto support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.c

    r508 r515  
    144144#ifdef ZEND_ENGINE_2_1 
    145145        switch (opline->opcode) { 
     146#ifdef ZEND_GOTO 
     147            case ZEND_GOTO: 
     148#endif 
    146149            case ZEND_JMP: 
    147150                opline->op1.u.opline_num = opline->op1.u.jmp_addr - op_array->opcodes; 
     
    194197#ifdef ZEND_ENGINE_2_1 
    195198        switch (opline->opcode) { 
     199#ifdef ZEND_GOTO 
     200            case ZEND_GOTO: 
     201#endif 
    196202            case ZEND_JMP: 
    197203                assert(opline->op1.u.opline_num < op_array->last); 
     
    294300    while (opline < end) { 
    295301        switch (opline->opcode) { 
     302#ifdef ZEND_GOTO 
     303            case ZEND_GOTO: 
     304#endif 
    296305            case ZEND_JMP: 
    297306                next = begin + opline->op1.u.opline_num; 
Note: See TracChangeset for help on using the changeset viewer.