Changeset 930 for trunk/disassembler.c


Ignore:
Timestamp:
2012-06-26T15:53:44+02:00 (22 months ago)
Author:
moo
Message:

fix disassembler for 2.4 literal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/disassembler.c

    r749 r930  
    2323    int bufsize = 2; 
    2424    char *buf; 
     25    xc_dasm_t dasm; 
    2526 
    2627    xc_compile_result_init_cur(&cr, op_array TSRMLS_CC); 
     
    3435    ALLOC_INIT_ZVAL(zv); 
    3536    array_init(zv); 
    36     xc_dasm_zend_op_array(zv, op_array TSRMLS_CC); 
     37    xc_dasm_zend_op_array(&dasm, zv, op_array TSRMLS_CC); 
    3738    add_assoc_zval_ex(dst, ZEND_STRS("op_array"), zv); 
    3839 
     
    4748        ALLOC_INIT_ZVAL(zv); 
    4849        array_init(zv); 
    49         xc_dasm_zend_function(zv, b->pData TSRMLS_CC); 
     50        xc_dasm_zend_function(&dasm, zv, b->pData TSRMLS_CC); 
    5051 
    5152        keysize = BUCKET_KEY_SIZE(b) + 2; 
     
    8485        ALLOC_INIT_ZVAL(zv); 
    8586        array_init(zv); 
    86         xc_dasm_zend_class_entry(zv, CestToCePtr(*(xc_cest_t *)b->pData) TSRMLS_CC); 
     87        xc_dasm_zend_class_entry(&dasm, zv, CestToCePtr(*(xc_cest_t *)b->pData) TSRMLS_CC); 
    8788 
    8889        keysize = BUCKET_KEY_SIZE(b) + 2; 
Note: See TracChangeset for help on using the changeset viewer.