[svn:parrot] r37058 - trunk/src

cotto at svn.parrot.org cotto at svn.parrot.org
Sun Mar 1 08:51:28 UTC 2009


Author: cotto
Date: Sun Mar  1 08:51:28 2009
New Revision: 37058
URL: https://trac.parrot.org/parrot/changeset/37058

Log:
[PMC] get rid of an instance of PMC_str_val

Modified:
   trunk/src/oo.c

Modified: trunk/src/oo.c
==============================================================================
--- trunk/src/oo.c	Sun Mar  1 07:53:53 2009	(r37057)
+++ trunk/src/oo.c	Sun Mar  1 08:51:28 2009	(r37058)
@@ -895,7 +895,7 @@
     if (PObj_is_class_TEST(_class)) {
         SLOTTYPE * const class_array    = PMC_data_typed(_class, SLOTTYPE *);
         PMC *const       class_name_pmc = get_attrib_num(class_array, PCD_CLASS_NAME);
-        class_name                      = PMC_str_val(class_name_pmc);
+        class_name                      = VTABLE_get_string(interp, class_name_pmc);
     }
     else
         class_name = _class->vtable->whoami;


More information about the parrot-commits mailing list