summaryrefslogtreecommitdiff
path: root/pp.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-01-05 11:43:58 +0000
committerNicholas Clark <nick@ccl4.org>2011-01-05 12:40:28 +0000
commitd682515ddb57d53757782d63f41bfeee5275187b (patch)
treeee747e83d315900348c25dd25bad6b0fe2a35cfc /pp.h
parent268389f04944215f5457046f5f3044c86057eed4 (diff)
downloadperl-d682515ddb57d53757782d63f41bfeee5275187b.tar.gz
Rename tied_handle_method() to tied_method(), and make it non-static.
It can be used for (at least) the call to "SPLICE" from pp_splice.
Diffstat (limited to 'pp.h')
-rw-r--r--pp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pp.h b/pp.h
index f3368f76e6..3070476fc9 100644
--- a/pp.h
+++ b/pp.h
@@ -491,6 +491,14 @@ True if this op will be the return value of an lvalue subroutine
) \
)
+#ifdef PERL_CORE
+/* These are just for Perl_tied_method(), which is not part of the public API.
+ Use 0x04 rather than the next available bit, to help the compiler if the
+ architecture can generate more efficient instructions. */
+# define TIED_METHOD_MORTALIZE_NOT_NEEDED 0x04
+# define TIED_METHOD_ARGUMENTS_ON_STACK 0x08
+#endif
+
/*
* Local variables:
* c-indentation-style: bsd