projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4155db
)
Fix overloaded <> when the peephole optimiser is disabled.
author
Gerard Goossen
<gerard@ggoossen.net>
Sat, 27 Aug 2011 15:08:07 +0000
(17:08 +0200)
committer
Father Chrysostomos
<sprout@cpan.org>
Thu, 1 Sep 2011 16:12:43 +0000
(09:12 -0700)
pp.h
patch
|
blob
|
history
diff --git
a/pp.h
b/pp.h
index
5cde92b
..
0ba877f
100644
(file)
--- a/
pp.h
+++ b/
pp.h
@@
-448,8
+448,12
@@
Does not use C<TARG>. See also C<XPUSHu>, C<mPUSHu> and C<PUSHu>.
SETTARG; \
PUTBACK; \
if (jump) { \
+ OP *jump_o = NORMAL->op_next; \
+ while (jump_o->op_type == OP_NULL) \
+ jump_o = jump_o->op_next; \
+ assert(jump_o->op_type == OP_ENTERSUB); \
PL_markstack_ptr--; \
- return
NORMAL->op_next->op_next;
\
+ return
jump_o->op_next;
\
} \
return NORMAL; \
} \