/[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 688 by ph10, Fri Sep 9 09:35:48 2011 UTC revision 691 by ph10, Sun Sep 11 14:31:21 2011 UTC
# Line 119  The generated code will be the following Line 119  The generated code will be the following
119   jump to D hot path   jump to D hot path
120   C fallback path   C fallback path
121   A fallback path   A fallback path
122    
123   Notice, that the order of fallback code paths are the opposite of the fast   Notice, that the order of fallback code paths are the opposite of the fast
124   code paths. In this way the topmost value on the stack is always belong   code paths. In this way the topmost value on the stack is always belong
125   to the current fallback code path. The fallback code path must check   to the current fallback code path. The fallback code path must check
# Line 405  cc += 1 + LINK_SIZE; Line 405  cc += 1 + LINK_SIZE;
405  return cc;  return cc;
406  }  }
407    
408  /* Functions whose might need modification for all new supported opcodes:  /* Functions whose might need modification for all new supported opcodes:
409   next_opcode   next_opcode
410   get_localspace   get_localspace
411   set_localptrs   set_localptrs
# Line 2384  do Line 2384  do
2384        }        }
2385      context->byteptr = 0;      context->byteptr = 0;
2386      }      }
2387    
2388  #else  #else
2389    
2390    /* Unaligned read is unsupported. */    /* Unaligned read is unsupported. */
# Line 3232  do Line 3232  do
3232        else if (cc[1] >= 0xc0)        else if (cc[1] >= 0xc0)
3233          size += _pcre_utf8_table4[cc[1] & 0x3f];          size += _pcre_utf8_table4[cc[1] & 0x3f];
3234        }        }
3235      else      else
3236  #endif  #endif
3237      if (char_has_othercase(common, cc + 1) && char_get_othercase_bit(common, cc + 1) == 0)      if (char_has_othercase(common, cc + 1) && char_get_othercase_bit(common, cc + 1) == 0)
3238        size = 0;        size = 0;
# Line 6392  pcre_assign_jit_stack(pcre_extra *extra, Line 6392  pcre_assign_jit_stack(pcre_extra *extra,
6392  {  {
6393  executable_function *function;  executable_function *function;
6394  if (extra != NULL &&  if (extra != NULL &&
6395      (extra->flags & PCRE_EXTRA_EXECUTABLE_JIT) != 0 &&      (extra->flags & PCRE_EXTRA_EXECUTABLE_JIT) != 0 &&
6396      extra->executable_jit != NULL)      extra->executable_jit != NULL)
6397    {    {
6398    function = (executable_function*)extra->executable_jit;    function = (executable_function*)extra->executable_jit;
# Line 6403  if (extra != NULL && Line 6403  if (extra != NULL &&
6403    
6404  #else  /* SUPPORT_JIT */  #else  /* SUPPORT_JIT */
6405    
6406  /* These are dummy functions to avoid linking errors when JIT support is not  /* These are dummy functions to avoid linking errors when JIT support is not
6407  being compiled. */  being compiled. */
6408    
6409  PCRE_EXP_DECL pcre_jit_stack *  PCRE_EXP_DECL pcre_jit_stack *

Legend:
Removed from v.688  
changed lines
  Added in v.691

  ViewVC Help
Powered by ViewVC 1.1.5