[svn:parrot] r37938 - trunk/compilers/pge/PGE

pmichaud at svn.parrot.org pmichaud at svn.parrot.org
Tue Apr 7 02:34:37 UTC 2009


Author: pmichaud
Date: Tue Apr  7 02:34:36 2009
New Revision: 37938
URL: https://trac.parrot.org/parrot/changeset/37938

Log:
[pge]:  Use a CodeString PMC to hold match targets instead of String.

Modified:
   trunk/compilers/pge/PGE/Match.pir

Modified: trunk/compilers/pge/PGE/Match.pir
==============================================================================
--- trunk/compilers/pge/PGE/Match.pir	Tue Apr  7 02:29:25 2009	(r37937)
+++ trunk/compilers/pge/PGE/Match.pir	Tue Apr  7 02:34:36 2009	(r37938)
@@ -62,8 +62,8 @@
     issrcmatch = isa src, ['PGE';'Match']
     if issrcmatch goto target_from_src
     .local pmc target
-    target = new 'String'
-    target = src
+    target = new 'CodeString'
+    assign target, src
     pos = 0
     iscont = 1
     $P0 = self.'HOW'()


More information about the parrot-commits mailing list