summaryrefslogtreecommitdiff
path: root/inline.h
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2019-10-27 17:50:39 +0000
committerKarl Williamson <khw@cpan.org>2020-03-01 13:06:05 -0700
commit7b9b9e329ab71b0a6f076aa2e0bfba2d0e8461d6 (patch)
tree3399687f5e4f809cb13a7329763d39bd77f8bff0 /inline.h
parent9d0469db4f4def798c045db1f50387414e3b0559 (diff)
downloadperl-7b9b9e329ab71b0a6f076aa2e0bfba2d0e8461d6.tar.gz
Inline the SvGETMAGIC call directly rather than via the macro
Diffstat (limited to 'inline.h')
-rw-r--r--inline.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/inline.h b/inline.h
index e4688320e9..56397310cc 100644
--- a/inline.h
+++ b/inline.h
@@ -199,7 +199,8 @@ PERL_STATIC_INLINE bool
Perl_SvTRUE(pTHX_ SV *sv) {
if (!LIKELY(sv))
return FALSE;
- return SvTRUE_NN(sv);
+ SvGETMAGIC(sv);
+ return SvTRUE_nomg_NN(sv);
}
PERL_STATIC_INLINE SV *