From 09fb282d08ec6c0189a10f94933ae9c8b8186577 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Mon, 23 Apr 2012 20:29:13 -0700 Subject: Copy call checker when cloning closure prototype Otherwise cv_set_call_checker has no effect inside an attribute han- dler for a closure. --- regen/mg_vtable.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'regen') diff --git a/regen/mg_vtable.pl b/regen/mg_vtable.pl index 605846bec6..f49471bf2b 100644 --- a/regen/mg_vtable.pl +++ b/regen/mg_vtable.pl @@ -105,7 +105,7 @@ my %mg = arylen_p => { char => '@', value_magic => 1, desc => 'to move arylen out of XPVAV' }, ext => { char => '~', desc => 'Available for use by extensions' }, - checkcall => { char => ']', value_magic => 1, + checkcall => { char => ']', value_magic => 1, vtable => 'checkcall', desc => 'inlining/mutation of call to this CV'}, ); @@ -145,6 +145,7 @@ my %sig = 'hintselem' => {set => 'sethint', clear => 'clearhint'}, 'hints' => {clear => 'clearhints'}, 'vstring' => {set => 'setvstring'}, + 'checkcall' => {copy => 'copycallchecker'}, ); my ($vt, $raw, $names) = map { -- cgit v1.2.1