summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-12-01 09:46:15 +0000
committerNicholas Clark <nick@ccl4.org>2008-12-01 09:46:15 +0000
commit7623d4262995987d3de73f116de43554c077f9c7 (patch)
treecd7556da8df952f94b02376ea65000913761154e /scope.h
parente1051f11a3c9aa4f634380cb66a839c59f585fe4 (diff)
downloadperl-7623d4262995987d3de73f116de43554c077f9c7.tar.gz
Expose save_pushi32ptr() and implement SAVECOPARYBASE() with it.
p4raw-id: //depot/perl@34963
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/scope.h b/scope.h
index fc639afed0..152566ad03 100644
--- a/scope.h
+++ b/scope.h
@@ -183,13 +183,7 @@ Closing bracket on a callback. See C<ENTER> and L<perlcall>.
PL_curstackinfo->si_stack = (t); \
} STMT_END
-#define SAVECOPARYBASE(c) \
- STMT_START { \
- SSCHECK(3); \
- SSPUSHINT(CopARYBASE_get(c)); \
- SSPUSHPTR(c); \
- SSPUSHINT(SAVEt_COP_ARYBASE); \
- } STMT_END
+#define SAVECOPARYBASE(c) save_pushi32ptr(CopARYBASE_get(c), c, SAVEt_COP_ARYBASE);
/* Need to do the cop warnings like this, rather than a "SAVEFREESHAREDPV",
because realloc() means that the value can actually change. Possibly