On Mon, May 13, 2013 at 05:18:20PM +0200, Paul Johnson wrote:
> Oops, I hadn't noticed this problem either.
>
> Devel::Cover does nasty things with B::Deparse, so it's quite possible
> that it's skipping the overlay you have added. But yes, a failing
> example would be nice.
If its any help, the relevant blead commits are:
commit 71324a3bc4a9e86bdeeabcaf87f9cdac28ba7510
Author: David Mitchell <
da...@iabyn.com>
AuthorDate: Tue Oct 23 21:39:10 2012 +0100
Commit: David Mitchell <
da...@iabyn.com>
CommitDate: Sat Nov 10 13:39:30 2012 +0000
add $B::overlay feature
This allows you to alter the read-only "view" of an optree, by making
particular B::*OP methods on particular op nodes return customised values.
Intended to be used by B::Deparse to "undo" optimisations, thus making it
easier to add new optree optimisations without breaking Deparse.
and the Deparse.pm part of:
commit a7fd8ef68b459a13ba95615ec125e2e7ba656b47
Author: David Mitchell <
da...@iabyn.com>
AuthorDate: Mon Sep 24 13:50:22 2012 +0100
Commit: David Mitchell <
da...@iabyn.com>
CommitDate: Sat Nov 10 13:39:31 2012 +0000
add padrange op
--
But Pity stayed his hand. "It's a pity I've run out of bullets",
he thought. -- "Bored of the Rings"