summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteffen Mueller <smueller@cpan.org>2013-02-12 18:26:44 +0100
committerSteffen Mueller <smueller@cpan.org>2013-02-14 17:37:12 +0100
commitf03584620600bc0700ff23914e588625f06871ce (patch)
tree5827531928861746418241862e3491f5e2594a99
parentc7a7bc4d893b49c02fd57bcedcf8c119538c6120 (diff)
downloadperl-f03584620600bc0700ff23914e588625f06871ce.tar.gz
The rpeepp and peepp functions need a THX
-rw-r--r--pod/perlguts.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlguts.pod b/pod/perlguts.pod
index 7cbaa365aa..79c1bbb9db 100644
--- a/pod/perlguts.pod
+++ b/pod/perlguts.pod
@@ -1924,7 +1924,7 @@ per-subroutine or recursive stage, like this:
static void my_peep(pTHX_ OP *o)
{
/* custom per-subroutine optimisation goes here */
- prev_peepp(o);
+ prev_peepp(aTHX_ o);
/* custom per-subroutine optimisation may also go here */
}
BOOT:
@@ -1938,7 +1938,7 @@ per-subroutine or recursive stage, like this:
for(; o; o = o->op_next) {
/* custom per-op optimisation goes here */
}
- prev_rpeepp(orig_o);
+ prev_rpeepp(aTHX_ orig_o);
}
BOOT:
prev_rpeepp = PL_rpeepp;