Index: classes/scalar.pmc =================================================================== --- classes/scalar.pmc (revision 7825) +++ classes/scalar.pmc (working copy) @@ -87,7 +87,6 @@ =item C - =cut */ @@ -477,10 +476,7 @@ */ void neg (PMC* dest) { - if (dest == SELF) - PMC_int_val(SELF) = -DYNSELF.get_integer(); - else - VTABLE_set_integer_native(INTERP, dest, -DYNSELF.get_integer()); + VTABLE_set_integer_native(INTERP, dest, -DYNSELF.get_integer()); } /* @@ -931,36 +927,9 @@ (UINTVAL)value, NULL) ); } -/* -=item C - -Increments the scalar. - -=cut - -*/ - - void increment () { - PMC_int_val(SELF) = DYNSELF.get_integer() + 1; - } - /* -=item C - -Decrements the scalar. - -=cut - -*/ - - void decrement () { - PMC_int_val(SELF) = DYNSELF.get_integer() - 1; - } - -/* - =item C Always returns true.