summaryrefslogtreecommitdiff
path: root/ext/arybase
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-12-20 06:50:08 -0800
committerFather Chrysostomos <sprout@cpan.org>2014-12-21 07:06:13 -0800
commitcee11a521f0966a42b8be1949f915e0c926c9f20 (patch)
treeb1543a5953b13afa5b74369868e47a03d4827b9c /ext/arybase
parent59421c01e9828b05d4753dff9143f374191887ee (diff)
downloadperl-cee11a521f0966a42b8be1949f915e0c926c9f20.tar.gz
Use GIMME_V in arybase
GIMME_V is a simpler macro that results in smaller machine code.
Diffstat (limited to 'ext/arybase')
-rw-r--r--ext/arybase/arybase.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/arybase/arybase.xs b/ext/arybase/arybase.xs
index bcc902ab89..af8ef7b1ad 100644
--- a/ext/arybase/arybase.xs
+++ b/ext/arybase/arybase.xs
@@ -250,7 +250,7 @@ static OP *ab_pp_basearg(pTHX) {
case OP_LSLICE:
firstp = PL_stack_base + *(PL_markstack_ptr-1)+1;
count = TOPMARK - *(PL_markstack_ptr-1);
- if (GIMME != G_ARRAY) {
+ if (GIMME_V != G_ARRAY) {
firstp += count-1;
count = 1;
}