Changeset 1281 in svn for trunk/processor/head.m4


Ignore:
Timestamp:
2013-07-08T08:00:36Z (2 years ago)
Author:
Xuefer
Message:

remove php 4 support completely

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/head.m4

    r1211 r1281  
    248248    }
    249249    for (i = 0; i < php->classinfo_cnt; i ++) {
    250         ceptr = CestToCePtr(php->classinfos[i].cest);
    251         if (ZCEP_REFCOUNT_PTR(ceptr) == ZCEP_REFCOUNT_PTR(ce)) {
     250        ceptr = php->classinfos[i].class_entry;
     251        if (ceptr == ce) {
    252252            processor->cache_ce = ceptr;
    253253            processor->cache_class_index = i;
     
    261261/* }}} */
    262262/* {{{ xc_get_class */
    263 #ifdef ZEND_ENGINE_2
    264263static zend_class_entry *xc_get_class(xc_processor_t *processor, zend_ulong class_num) {
    265264    /* must be parent or currrent class */
    266265    assert(class_num <= processor->active_class_index + 1);
    267     return CestToCePtr(processor->php_dst->classinfos[class_num - 1].cest);
    268 }
    269 #endif
     266    return processor->php_dst->classinfos[class_num - 1].class_entry;
     267}
    270268define(`xc_get_class', `xc_get_classNOTDEFINED')
    271269/* }}} */
    272 #ifdef ZEND_ENGINE_2
    273270/* fix method on store */
    274271static void xc_fix_method(xc_processor_t *processor, zend_op_array *dst TSRMLS_DC) /* {{{ */
     
    345342}
    346343/* }}} */
    347 #endif
    348344/* {{{ call op_array ctor handler */
    349345extern zend_bool xc_have_op_array_ctor;
Note: See TracChangeset for help on using the changeset viewer.