/[pcre]/code/trunk/pcre_jit_compile.c
ViewVC logotype

Diff of /code/trunk/pcre_jit_compile.c

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

revision 675 by ph10, Sat Aug 27 10:18:46 2011 UTC revision 676 by ph10, Sat Aug 27 15:53:04 2011 UTC
# Line 6145  while (common->currententry != NULL) Line 6145  while (common->currententry != NULL)
6145    common->currententry = common->currententry->next;    common->currententry = common->currententry->next;
6146    }    }
6147    
6148  /* Allocating stack, returns with PCRE_ERROR_NOMEMORY if fails. */  /* Allocating stack, returns with PCRE_ERROR_JIT_STACKLIMIT if fails. */
6149  /* This is a (really) rare case. */  /* This is a (really) rare case. */
6150  set_jumps(common->stackalloc, LABEL());  set_jumps(common->stackalloc, LABEL());
6151  /* RETURN_ADDR is not a saved register. */  /* RETURN_ADDR is not a saved register. */
# Line 6168  sljit_emit_fast_return(compiler, SLJIT_M Line 6168  sljit_emit_fast_return(compiler, SLJIT_M
6168  /* Allocation failed. */  /* Allocation failed. */
6169  JUMPHERE(alloc_error);  JUMPHERE(alloc_error);
6170  /* We break the return address cache here, but this is a really rare case. */  /* We break the return address cache here, but this is a really rare case. */
6171  OP1(SLJIT_MOV, MAX_INDEX, 0, SLJIT_IMM, PCRE_ERROR_NOMEMORY);  OP1(SLJIT_MOV, MAX_INDEX, 0, SLJIT_IMM, PCRE_ERROR_JIT_STACKLIMIT);
6172  JUMPTO(SLJIT_JUMP, leave);  JUMPTO(SLJIT_JUMP, leave);
6173    
6174  if (common->revertframes != NULL)  if (common->revertframes != NULL)

Legend:
Removed from v.675  
changed lines
  Added in v.676

  ViewVC Help
Powered by ViewVC 1.1.5