[svn:parrot] r43033 - trunk/src/ops
mikehh at svn.parrot.org
mikehh at svn.parrot.org
Mon Dec 14 10:12:37 UTC 2009
Author: mikehh
Date: Mon Dec 14 10:12:35 2009
New Revision: 43033
URL: https://trac.parrot.org/parrot/changeset/43033
Log:
partial reversion of r42924 in src/ops/pmc.ops to fix TT #1368
Modified:
trunk/src/ops/pmc.ops
Modified: trunk/src/ops/pmc.ops
==============================================================================
--- trunk/src/ops/pmc.ops Mon Dec 14 07:00:48 2009 (r43032)
+++ trunk/src/ops/pmc.ops Mon Dec 14 10:12:35 2009 (r43033)
@@ -51,9 +51,7 @@
op new(out PMC, in STR) {
STRING * const name = $2;
- PMC * const _class = Parrot_pcc_get_HLL(interp, CURRENT_CONTEXT(interp))
- ? Parrot_oo_get_class_str(interp, name)
- : PMCNULL;
+ PMC * const _class = Parrot_oo_get_class_str(interp, name);
if (!PMC_IS_NULL(_class))
$1 = VTABLE_instantiate(interp, _class, PMCNULL);
@@ -71,9 +69,7 @@
op new(out PMC, in STR, in PMC) {
STRING * const name = $2;
- PMC * const _class = Parrot_pcc_get_HLL(interp, CURRENT_CONTEXT(interp))
- ? Parrot_oo_get_class_str(interp, name)
- : PMCNULL;
+ PMC * const _class = Parrot_oo_get_class_str(interp, name);
if (!PMC_IS_NULL(_class))
$1 = VTABLE_instantiate(interp, _class, $3);
More information about the parrot-commits
mailing list