[svn:parrot] r40474 - branches/pcc_arg_unify/compilers/imcc
allison at svn.parrot.org
allison at svn.parrot.org
Mon Aug 10 01:08:10 UTC 2009
Author: allison
Date: Mon Aug 10 01:08:05 2009
New Revision: 40474
URL: https://trac.parrot.org/parrot/changeset/40474
Log:
[pcc] Don't make a method call when the method itself is just a vtable
function call. (For that matter, don't make methods that are just vtable
function calls.)
Modified:
branches/pcc_arg_unify/compilers/imcc/pbc.c
Modified: branches/pcc_arg_unify/compilers/imcc/pbc.c
==============================================================================
--- branches/pcc_arg_unify/compilers/imcc/pbc.c Mon Aug 10 00:07:10 2009 (r40473)
+++ branches/pcc_arg_unify/compilers/imcc/pbc.c Mon Aug 10 01:08:05 2009 (r40474)
@@ -1216,9 +1216,8 @@
"add lexical '%s' to sub name '%s'\n",
n->name, (char*)sub->name->strstart);
- Parrot_PCCINVOKE(interp, lex_info,
- string_from_literal(interp, "declare_lex_preg"),
- "SI->", lex_name, r->color);
+ VTABLE_set_integer_keyed_str(interp, lex_info,
+ lex_name, r->color);
/* next possible name */
n = n->reg;
More information about the parrot-commits
mailing list