diff options
author | Yves Orton <demerphq@gmail.com> | 2021-02-12 16:43:55 +0100 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2021-02-12 13:53:11 -0800 |
commit | 64901762e5e760756c8a2f3d72e81a16d2213c53 (patch) | |
tree | c0668d0c6c50d09600586e898ab124a5262bb38f /regcomp.h | |
parent | 4371f648bf908d4ac28660f37f560b0f8fbd0488 (diff) | |
download | perl-64901762e5e760756c8a2f3d72e81a16d2213c53.tar.gz |
speed up regex ops under DEBUGGING when -Dr not used
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1121,7 +1121,7 @@ re.pm, especially to the documentation. * the defaults if not done already */ #define DECLARE_AND_GET_RE_DEBUG_FLAGS \ volatile IV re_debug_flags = 0; PERL_UNUSED_VAR(re_debug_flags); \ - STMT_START { \ + DEBUG_r({ \ SV * re_debug_flags_sv = NULL; \ /* get_sv() can return NULL during global destruction. */ \ re_debug_flags_sv = PL_curcop ? get_sv(RE_DEBUG_FLAGS, GV_ADD) : NULL; \ @@ -1132,7 +1132,7 @@ re.pm, especially to the documentation. RE_DEBUG_COMPILE_DUMP | RE_DEBUG_EXECUTE_MASK ); \ re_debug_flags=SvIV(re_debug_flags_sv); \ } \ - } STMT_END + }) #define isDEBUG_WILDCARD (DEBUG_v_TEST || RE_DEBUG_FLAG(RE_DEBUG_EXTRA_WILDCARD)) |