Changeset 726 in svn for branches/1.3/opcode_spec.c


Ignore:
Timestamp:
2011-04-09T12:59:31Z (4 years ago)
Author:
Xuefer
Message:

merge from trunk

Location:
branches/1.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3

  • branches/1.3/opcode_spec.c

    r394 r726  
    2020const xc_opcode_spec_t *xc_get_opcode_spec(zend_uchar opcode)
    2121{
     22#ifndef NDEBUG
     23    if (xc_get_opcode_count() != xc_get_opcode_spec_count()) {
     24        fprintf(stderr, "count mismatch: xc_get_opcode_count=%d, xc_get_opcode_spec_count=%d\n", xc_get_opcode_count(), xc_get_opcode_spec_count());
     25    }
     26#endif
    2227    assert(xc_get_opcode_count() == xc_get_opcode_spec_count());
    2328    assert(opcode < xc_get_opcode_spec_count());
Note: See TracChangeset for help on using the changeset viewer.