Changeset f304523 in git


Ignore:
Timestamp:
2008-01-05T11:52:35Z (12 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
de6e17c
Parents:
4004123
Message:

PHP_6: added goto support

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@515 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • processor/processor.m4

    r1af51b5 rf304523  
    475475    IFCOPY(`
    476476        switch (src->opcode) {
     477#ifdef ZEND_GOTO
     478            case ZEND_GOTO:
     479#endif
    477480            case ZEND_JMP:
    478481                dst->op1.u.jmp_addr = processor->active_opcodes_dst + (src->op1.u.jmp_addr - processor->active_opcodes_src);
  • utils.c

    r470c2fc rf304523  
    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.