[svn:parrot] r49743 - branches/gsoc_nci/src
plobsing at svn.parrot.org
plobsing at svn.parrot.org
Sun Oct 31 01:25:44 UTC 2010
Author: plobsing
Date: Sun Oct 31 01:25:44 2010
New Revision: 49743
URL: https://trac.parrot.org/parrot/changeset/49743
Log:
constant PMCs are wrong, double wrong, and dead wrong
Modified:
branches/gsoc_nci/src/multidispatch.c
Modified: branches/gsoc_nci/src/multidispatch.c
==============================================================================
--- branches/gsoc_nci/src/multidispatch.c Sun Oct 31 01:24:40 2010 (r49742)
+++ branches/gsoc_nci/src/multidispatch.c Sun Oct 31 01:25:44 2010 (r49743)
@@ -944,7 +944,7 @@
PMC *multi_sub = Parrot_ns_get_global(interp, ns, sub_name);
if (PMC_IS_NULL(multi_sub)) {
- multi_sub = Parrot_pmc_new_constant(interp, enum_class_MultiSub);
+ multi_sub = Parrot_pmc_new(interp, enum_class_MultiSub);
Parrot_ns_set_global(interp, ns, sub_name, multi_sub);
}
@@ -1070,7 +1070,7 @@
STRING *ns_name = mmd_info[i].ns_name;
/* Create an NCI sub for the C function */
- PMC *sub_obj = Parrot_pmc_new_constant(interp, enum_class_NCI);
+ PMC *sub_obj = Parrot_pmc_new(interp, enum_class_NCI);
VTABLE_set_pointer_keyed_str(interp, sub_obj, short_sig,
F2DPTR(func_ptr));
More information about the parrot-commits
mailing list