[svn:parrot] r38417 - branches/pmc_pct/compilers/pmc/src

bacek at svn.parrot.org bacek at svn.parrot.org
Fri May 1 10:05:09 UTC 2009


Author: bacek
Date: Fri May  1 10:05:08 2009
New Revision: 38417
URL: https://trac.parrot.org/parrot/changeset/38417

Log:
Actually set attributes in PMC::Class.

Modified:
   branches/pmc_pct/compilers/pmc/src/nodes.pir

Modified: branches/pmc_pct/compilers/pmc/src/nodes.pir
==============================================================================
--- branches/pmc_pct/compilers/pmc/src/nodes.pir	Fri May  1 09:47:05 2009	(r38416)
+++ branches/pmc_pct/compilers/pmc/src/nodes.pir	Fri May  1 10:05:08 2009	(r38417)
@@ -42,19 +42,19 @@
 
     # Initialize various attributes
     $P3 = new 'ResizableStringArray'
-    res.'attr'('parents', $P3, $I0)
+    res.'attr'('parents', $P3, 1)
 
     $P4 = new 'Hash'
-    res.'attr'('class_init', $P4, 0)
+    res.'attr'('class_init', $P4, 1)
 
     $P5 = new 'Hash'
-    res.'attr'('vtables', $P5, $I0)
+    res.'attr'('vtables', $P5, 1)
 
     $P6 = new 'Hash'
-    res.'attr'('methods', $P6, $I0)
+    res.'attr'('methods', $P6, 1)
 
     $P7 = new 'ResizableStringArray'
-    res.'attr'('provides', $P7, $I0)
+    res.'attr'('provides', $P7, 1)
 
     .return (res)
 .end


More information about the parrot-commits mailing list