[svn:parrot] r38385 - trunk/runtime/parrot/library

pmichaud at svn.parrot.org pmichaud at svn.parrot.org
Tue Apr 28 05:52:28 UTC 2009


Author: pmichaud
Date: Tue Apr 28 05:52:27 2009
New Revision: 38385
URL: https://trac.parrot.org/parrot/changeset/38385

Log:
[p6object]:  Differentiate a NameSpace object from the NameSpace protoobject.

Modified:
   trunk/runtime/parrot/library/P6object.pir

Modified: trunk/runtime/parrot/library/P6object.pir
==============================================================================
--- trunk/runtime/parrot/library/P6object.pir	Tue Apr 28 02:42:27 2009	(r38384)
+++ trunk/runtime/parrot/library/P6object.pir	Tue Apr 28 05:52:27 2009	(r38385)
@@ -591,6 +591,8 @@
     x = get_hll_namespace $P0
   x_ns:
     if null x goto done
+    $I0 = isa x, 'P6protoobject'
+    if $I0 goto x_p6object
     parrotclass = get_class x
   done:
     .return (parrotclass)


More information about the parrot-commits mailing list