summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2020-07-20 17:23:02 +0100
committerKarl Williamson <khw@cpan.org>2020-07-30 15:05:00 -0600
commit6c148c868ed02375774c3c3e9d0c93d4684a2056 (patch)
tree1d31169a540c1df024f95b87fa5496cb7ee00d30 /scope.h
parent3c7669f205ba8cbf989aadd1a81d90add1ba0636 (diff)
downloadperl-6c148c868ed02375774c3c3e9d0c93d4684a2056.tar.gz
Define a new SAVEt_HINT_HH type
Rather than possibly push an extra HV* to the save stack if the right bit is set in the (saved) hints flags, better just to define a different SAVEt type. Having done this, the stack layout is now constant per type value. This fixes https://github.com/Perl/perl5/issues/17895
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scope.h b/scope.h
index 483bc5d700..176ac94356 100644
--- a/scope.h
+++ b/scope.h
@@ -75,6 +75,7 @@
#define SAVEt_GVSLOT 51
#define SAVEt_AELEM 52
#define SAVEt_DELETE 53
+#define SAVEt_HINTS_HH 54
#define SAVEf_SETMAGIC 1