On Thu, Oct 23, 2008 at 08:14:19PM -0700, Allison Randal via RT wrote: > > a = a ** b # pow a, a, b > > > > Before the MMD merge, this opcode meant "raise a to the power > > of b and store the result back in a". However, after the mmd > > branch merge this opcode now means "create a new PMC containing > > the value of a raised to the b power and set register a to point > > to that new PMC, leaving the value of its original PMC alone". > > So, the pow opcode is no longer able to act as an inplace modifier. > > The other math opcodes have two argument versions that call the 'i_' > inplace vtable function. I can add these for 'pow' if needed.
I'm not sure that every opcode needs an inplace form. And in Rakudo's case it's not likely to matter much, as the (Perl 6) inplace operators are unlikely to be able to use Parrot's inplace opcodes anyway. Thanks, Pm