/[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 1316 by zherczeg, Sun Apr 28 08:54:42 2013 UTC revision 1325 by ph10, Fri May 10 14:03:18 2013 UTC
# Line 211  typedef int (SLJIT_CALL *jit_function)(j Line 211  typedef int (SLJIT_CALL *jit_function)(j
211    
212  /* The following structure is the key data type for the recursive  /* The following structure is the key data type for the recursive
213  code generator. It is allocated by compile_matchingpath, and contains  code generator. It is allocated by compile_matchingpath, and contains
214  the aguments for compile_backtrackingpath. Must be the first member  the arguments for compile_backtrackingpath. Must be the first member
215  of its descendants. */  of its descendants. */
216  typedef struct backtrack_common {  typedef struct backtrack_common {
217    /* Concatenation stack. */    /* Concatenation stack. */
# Line 2374  return (bit < 256) ? ((0 << 8) | bit) : Line 2374  return (bit < 256) ? ((0 << 8) | bit) :
2374    
2375  static void check_partial(compiler_common *common, BOOL force)  static void check_partial(compiler_common *common, BOOL force)
2376  {  {
2377  /* Checks whether a partial matching is occured. Does not modify registers. */  /* Checks whether a partial matching is occurred. Does not modify registers. */
2378  DEFINE_COMPILER;  DEFINE_COMPILER;
2379  struct sljit_jump *jump = NULL;  struct sljit_jump *jump = NULL;
2380    
# Line 8227  if (has_alternatives) Line 8227  if (has_alternatives)
8227          return;          return;
8228        }        }
8229    
8230      /* Instructions after the current alternative is succesfully matched. */      /* Instructions after the current alternative is successfully matched. */
8231      /* There is a similar code in compile_bracket_matchingpath. */      /* There is a similar code in compile_bracket_matchingpath. */
8232      if (opcode == OP_ONCE)      if (opcode == OP_ONCE)
8233        match_once_common(common, ket, CURRENT_AS(bracket_backtrack)->u.framesize, private_data_ptr, has_alternatives, needs_control_head);        match_once_common(common, ket, CURRENT_AS(bracket_backtrack)->u.framesize, private_data_ptr, has_alternatives, needs_control_head);

Legend:
Removed from v.1316  
changed lines
  Added in v.1325

  ViewVC Help
Powered by ViewVC 1.1.5