/[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 883 by zherczeg, Mon Jan 16 08:35:42 2012 UTC revision 906 by zherczeg, Tue Jan 24 09:55:16 2012 UTC
# Line 796  BOOL setsom_found = FALSE; Line 796  BOOL setsom_found = FALSE;
796  int offset;  int offset;
797    
798  /* >= 1 + shortest item size (2) */  /* >= 1 + shortest item size (2) */
799    SLJIT_UNUSED_ARG(stacktop);
800  SLJIT_ASSERT(stackpos >= stacktop + 2);  SLJIT_ASSERT(stackpos >= stacktop + 2);
801    
802  stackpos = STACK(stackpos);  stackpos = STACK(stackpos);
# Line 4928  else Line 4929  else
4929    SLJIT_ASSERT(*opcode >= OP_CLASS || *opcode <= OP_XCLASS);    SLJIT_ASSERT(*opcode >= OP_CLASS || *opcode <= OP_XCLASS);
4930    *type = *opcode;    *type = *opcode;
4931    cc++;    cc++;
4932    class_len = (*type < OP_XCLASS) ? (1 + (32 / sizeof(pcre_uchar))) : GET(cc, 0);    class_len = (*type < OP_XCLASS) ? (int)(1 + (32 / sizeof(pcre_uchar))) : GET(cc, 0);
4933    *opcode = cc[class_len - 1];    *opcode = cc[class_len - 1];
4934    if (*opcode >= OP_CRSTAR && *opcode <= OP_CRMINQUERY)    if (*opcode >= OP_CRSTAR && *opcode <= OP_CRMINQUERY)
4935      {      {
# Line 6814  PRIV(jit_get_size)(void *executable_func Line 6815  PRIV(jit_get_size)(void *executable_func
6815  return ((executable_function*)executable_func)->executable_size;  return ((executable_function*)executable_func)->executable_size;
6816  }  }
6817    
6818    const char*
6819    PRIV(jit_get_target)(void)
6820    {
6821    return sljit_get_platform_name();
6822    }
6823    
6824  #ifdef COMPILE_PCRE8  #ifdef COMPILE_PCRE8
6825  PCRE_EXP_DECL pcre_jit_stack *  PCRE_EXP_DECL pcre_jit_stack *
6826  pcre_jit_stack_alloc(int startsize, int maxsize)  pcre_jit_stack_alloc(int startsize, int maxsize)

Legend:
Removed from v.883  
changed lines
  Added in v.906

  ViewVC Help
Powered by ViewVC 1.1.5