On Tue, Feb 12, 2002 at 11:28:26PM +, Simon Glover wrote:
>
> Currently the add, subtract, multiply and divide methods in perlnum.pmc
> are all coded along the lines of:
>
> void add (PMC * value, PMC* dest) {
> if(value->vtable == &Parrot_base_vtables[enum_class_PerlInt]) {
Currently the add, subtract, multiply and divide methods in perlnum.pmc
are all coded along the lines of:
void add (PMC * value, PMC* dest) {
if(value->vtable == &Parrot_base_vtables[enum_class_PerlInt]) {
*dest->vtable = &Parrot_base_vtables[enum_class_PerlNum];
*