Re: [perl #58410] [TODO] Deprecate n_* variants of the math opcodes

[email protected] (chromatic) Tue, 20 Jan 2009 09:33:17 -0800
Newsgroups perl.perl6.internals
Organization Snafu
Message-ID <[email protected]>
On Tuesday 20 January 2009 07:27:53 Patrick R. Michaud wrote:

> On Mon, Jan 19, 2009 at 08:35:26PM -0800, chromatic via RT wrote:

> > I've done most of this in r35787, but we can't get rid of n_neg entirely
> > until someone updates PCT and NQP not to use it for prefix:- rules.  I
> > poked at that, but couldn't make them work.
> What's the replacement opcode for n_neg ?

If we remove n_neg, the replacement is likely a two-step operation:

	clone $P1, $P2
	neg $P1

-- c