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

chromatic at svn.parrot.org chromatic at svn.parrot.org
Sat Sep 4 18:13:01 UTC 2010


Author: chromatic
Date: Sat Sep  4 18:13:01 2010
New Revision: 48787
URL: https://trac.parrot.org/parrot/changeset/48787

Log:
[PMC] Optimized Undef's get_string VTABLE.

Modified:
   trunk/src/pmc/undef.pmc

Modified: trunk/src/pmc/undef.pmc
==============================================================================
--- trunk/src/pmc/undef.pmc	Sat Sep  4 16:58:10 2010	(r48786)
+++ trunk/src/pmc/undef.pmc	Sat Sep  4 18:13:01 2010	(r48787)
@@ -1,5 +1,5 @@
 /*
-Copyright (C) 2004-2009, Parrot Foundation.
+Copyright (C) 2004-2010, Parrot Foundation.
 $Id$
 
 =head1 NAME
@@ -178,7 +178,7 @@
         Parrot_warn(INTERP, PARROT_WARNINGS_UNDEF_FLAG,
             "Stringifying an Undef PMC");
 
-        return Parrot_str_new_noinit(INTERP, enum_stringrep_one, 0);
+        return CONST_STRING(INTERP, "");
     }
 
 /*


More information about the parrot-commits mailing list