petdance/scratch — Issue #297: Request for another overload to 'not' opcode.
Author: petdance
Created: 2011-11-01 04:25:35+00:00
State: open

The docs page:
http://docs.parrot.org/parrot/latest/html/src/ops/cmp.ops.html

...mentions 2 overloads for opcode 'not':

{{{
not(out INT, in INT)
not(out PMC, invar PMC)
}}}

It would be sweet to have another overload for opcode 'not'.

{{{
not(out INT, invar PMC)
}}}

This would avoid the need for boxing of the operands in many cases.