/[pcre]/code/trunk/sljit/sljitLir.c
ViewVC logotype

Diff of /code/trunk/sljit/sljitLir.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1511 by zherczeg, Tue Sep 30 06:35:20 2014 UTC revision 1512 by zherczeg, Sun Nov 9 07:27:16 2014 UTC
# Line 1325  static SLJIT_INLINE CHECK_RETURN_TYPE ch Line 1325  static SLJIT_INLINE CHECK_RETURN_TYPE ch
1325          CHECK_ARGUMENT(!(type & ~(0xff | SLJIT_REWRITABLE_JUMP | SLJIT_INT_OP)));          CHECK_ARGUMENT(!(type & ~(0xff | SLJIT_REWRITABLE_JUMP | SLJIT_INT_OP)));
1326          CHECK_ARGUMENT((type & 0xff) >= SLJIT_EQUAL && (type & 0xff) <= SLJIT_CALL3);          CHECK_ARGUMENT((type & 0xff) >= SLJIT_EQUAL && (type & 0xff) <= SLJIT_CALL3);
1327          CHECK_ARGUMENT((type & 0xff) < SLJIT_JUMP || !(type & SLJIT_INT_OP));          CHECK_ARGUMENT((type & 0xff) < SLJIT_JUMP || !(type & SLJIT_INT_OP));
1328            CHECK_ARGUMENT((type & 0xff) <= SLJIT_CALL0 || ((type & 0xff) - SLJIT_CALL0) <= compiler->scratches);
1329  #endif  #endif
1330  #if (defined SLJIT_VERBOSE && SLJIT_VERBOSE)  #if (defined SLJIT_VERBOSE && SLJIT_VERBOSE)
1331          if (SLJIT_UNLIKELY(!!compiler->verbose))          if (SLJIT_UNLIKELY(!!compiler->verbose))
# Line 1390  static SLJIT_INLINE CHECK_RETURN_TYPE ch Line 1391  static SLJIT_INLINE CHECK_RETURN_TYPE ch
1391    
1392  #if (defined SLJIT_ARGUMENT_CHECKS && SLJIT_ARGUMENT_CHECKS)  #if (defined SLJIT_ARGUMENT_CHECKS && SLJIT_ARGUMENT_CHECKS)
1393          CHECK_ARGUMENT(type >= SLJIT_JUMP && type <= SLJIT_CALL3);          CHECK_ARGUMENT(type >= SLJIT_JUMP && type <= SLJIT_CALL3);
1394            CHECK_ARGUMENT(type <= SLJIT_CALL0 || (type - SLJIT_CALL0) <= compiler->scratches);
1395          FUNCTION_CHECK_SRC(src, srcw);          FUNCTION_CHECK_SRC(src, srcw);
1396  #endif  #endif
1397  #if (defined SLJIT_VERBOSE && SLJIT_VERBOSE)  #if (defined SLJIT_VERBOSE && SLJIT_VERBOSE)

Legend:
Removed from v.1511  
changed lines
  Added in v.1512

  ViewVC Help
Powered by ViewVC 1.1.5