/[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 1595 by zherczeg, Mon Aug 24 09:49:06 2015 UTC revision 1596 by zherczeg, Wed Aug 26 13:44:24 2015 UTC
# Line 4342  switch(length) Line 4342  switch(length)
4342    case 4:    case 4:
4343    if ((ranges[1] - ranges[0]) == (ranges[3] - ranges[2])    if ((ranges[1] - ranges[0]) == (ranges[3] - ranges[2])
4344        && (ranges[0] | (ranges[2] - ranges[0])) == ranges[2]        && (ranges[0] | (ranges[2] - ranges[0])) == ranges[2]
4345          && (ranges[1] & (ranges[2] - ranges[0])) == 0
4346        && is_powerof2(ranges[2] - ranges[0]))        && is_powerof2(ranges[2] - ranges[0]))
4347      {      {
4348        SLJIT_ASSERT((ranges[0] & (ranges[2] - ranges[0])) == 0 && (ranges[2] & ranges[3] & (ranges[2] - ranges[0])) != 0);
4349      OP2(SLJIT_OR, TMP1, 0, TMP1, 0, SLJIT_IMM, ranges[2] - ranges[0]);      OP2(SLJIT_OR, TMP1, 0, TMP1, 0, SLJIT_IMM, ranges[2] - ranges[0]);
4350      if (ranges[2] + 1 != ranges[3])      if (ranges[2] + 1 != ranges[3])
4351        {        {

Legend:
Removed from v.1595  
changed lines
  Added in v.1596

  ViewVC Help
Powered by ViewVC 1.1.5