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 |
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 |
2384 |
} |
} |
2385 |
context->byteptr = 0; |
context->byteptr = 0; |
2386 |
} |
} |
2387 |
|
|
2388 |
#else |
#else |
2389 |
|
|
2390 |
/* Unaligned read is unsupported. */ |
/* Unaligned read is unsupported. */ |
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; |
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; |
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 * |