[svn:parrot] r38976 - branches/tt452_reduce_mmd/src/pmc

bacek at svn.parrot.org bacek at svn.parrot.org
Wed May 20 11:26:59 UTC 2009


Author: bacek
Date: Wed May 20 11:26:59 2009
New Revision: 38976
URL: https://trac.parrot.org/parrot/changeset/38976

Log:
[pmc] Don't use MULTI for methods with single variant only.

Modified:
   branches/tt452_reduce_mmd/src/pmc/bigint.pmc

Modified: branches/tt452_reduce_mmd/src/pmc/bigint.pmc
==============================================================================
--- branches/tt452_reduce_mmd/src/pmc/bigint.pmc	Wed May 20 11:20:38 2009	(r38975)
+++ branches/tt452_reduce_mmd/src/pmc/bigint.pmc	Wed May 20 11:26:59 2009	(r38976)
@@ -1009,7 +1009,7 @@
         return dest;
     }
 
-    MULTI PMC *pow(PMC *value, PMC *dest) {
+    VTABLE PMC *pow(PMC *value, PMC *dest) {
         /* XXX only Integer RHS currently */
         const INTVAL r = VTABLE_get_integer(INTERP, value);
         dest = pmc_new(INTERP, SELF->vtable->base_type);
@@ -1056,7 +1056,7 @@
         return dest;
     }
 
-    MULTI void i_divide(PMC *value) {
+    VTABLE void i_divide(PMC *value) {
         switch (value->vtable->base_type) {
             case enum_class_BigInt:
                 bigint_div_bigint(INTERP, SELF, value, SELF);


More information about the parrot-commits mailing list