summaryrefslogtreecommitdiff
path: root/MANIFEST
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-08-06 00:20:06 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-08-14 12:23:30 -0700
commit4aaa475724fbbc4ab2427743fa4d07a12e6ce0d9 (patch)
treed179695a33037243c65c51f5373eaa5a8c95931d /MANIFEST
parent9927957a90b2fe6bdb0e2be889b2edcddadea174 (diff)
downloadperl-4aaa475724fbbc4ab2427743fa4d07a12e6ce0d9.tar.gz
Add inlinable &CORE::functions
This commit allows this to work: BEGIN { *entangle = \&CORE::tie }; entangle $foo, $package; And the entangle call gets inlined as a tie op, the resulting op tree being indistinguishable. These subs are not yet callable via &foo syntax or through a refer- ence. That will come later, except for some functions, like sort(), which will probably never support it. Almost all overridable functions are supported. These few are not: - infix operators - not and getprotobynumber (can’t get the precedence right yet; prototype problem) - dump Subsequent commits (hopefully!) will deal with those. How this works: gv_fetchpvn_flags is extended with hooks to create subs inside the CORE package. Those subs are XSUBs (whose C function dies with an error, for now at least) with a call checker that blows away the entersub op and replaces it with whatever op the sub represents. This is slightly inefficient right now, as gv_fetchpvn_flags calls keyword(), only to have core_prototype call it again. That will be fixed in a future refactoring.
Diffstat (limited to 'MANIFEST')
-rw-r--r--MANIFEST1
1 files changed, 1 insertions, 0 deletions
diff --git a/MANIFEST b/MANIFEST
index a81d4ace24..8e999d7ca4 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -4917,6 +4917,7 @@ t/op/concat2.t Tests too complex for concat.t
t/op/concat.t See if string concatenation works
t/op/cond.t See if conditional expressions work
t/op/context.t See if context propagation works
+t/op/coreinline.t Test inlining of \&CORE::subs
t/op/cproto.t Check builtin prototypes
t/op/crypt.t See if crypt works
t/op/dbm.t See if dbmopen/dbmclose work