[svn:parrot] r45381 - trunk/compilers/imcc

NotFound at svn.parrot.org NotFound at svn.parrot.org
Fri Apr 2 13:55:20 UTC 2010


Author: NotFound
Date: Fri Apr  2 13:55:19 2010
New Revision: 45381
URL: https://trac.parrot.org/parrot/changeset/45381

Log:
use Parrot_pmc_new_init_int in mk_multi_sig

Modified:
   trunk/compilers/imcc/pbc.c

Modified: trunk/compilers/imcc/pbc.c
==============================================================================
--- trunk/compilers/imcc/pbc.c	Fri Apr  2 11:09:23 2010	(r45380)
+++ trunk/compilers/imcc/pbc.c	Fri Apr  2 13:55:19 2010	(r45381)
@@ -1064,8 +1064,7 @@
     if (!pcc_sub->multi[0])
         return Parrot_pmc_new(interp, enum_class_FixedIntegerArray);
 
-    multi_sig = Parrot_pmc_new(interp, enum_class_FixedPMCArray);
-    VTABLE_set_integer_native(interp, multi_sig, n);
+    multi_sig = Parrot_pmc_new_init_int(interp, enum_class_FixedPMCArray, n);
     ct        = interp->code->const_table;
 
     for (i = 0; i < n; ++i) {


More information about the parrot-commits mailing list