[svn:parrot] r46252 - trunk/src/pmc

darbelo at svn.parrot.org darbelo at svn.parrot.org
Mon May 3 22:33:06 UTC 2010


Author: darbelo
Date: Mon May  3 22:33:05 2010
New Revision: 46252
URL: https://trac.parrot.org/parrot/changeset/46252

Log:
Remove '#if 0' from src/pmc/bigint.pmc

Modified:
   trunk/src/pmc/bigint.pmc

Modified: trunk/src/pmc/bigint.pmc
==============================================================================
--- trunk/src/pmc/bigint.pmc	Mon May  3 22:32:53 2010	(r46251)
+++ trunk/src/pmc/bigint.pmc	Mon May  3 22:33:05 2010	(r46252)
@@ -1352,15 +1352,6 @@
         dest = Parrot_pmc_new(INTERP, VTABLE_type(INTERP, SELF));
 
         bigint_div_bigint(INTERP, SELF, value, dest);
-#if 0
-        /* to downgrade or not that's the question */
-        GETATTR_BigInt_bi(interp, dest, bi);
-        if (mpz_fits_slong_p(bi->b)) {
-            long iresult = mpz_get_si(bi->b);
-            VTABLE_morph(interp, dest, enum_class_Integer);
-            VTABLE_set_integer_native(interp, dest, iresult);
-        }
-#endif
         return dest;
     }
 


More information about the parrot-commits mailing list