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

cotto at svn.parrot.org cotto at svn.parrot.org
Fri May 1 10:18:13 UTC 2009


Author: cotto
Date: Fri May  1 10:18:13 2009
New Revision: 38420
URL: https://trac.parrot.org/parrot/changeset/38420

Log:
[pmc_pct] unconditionally emit a class_init prototype

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

Modified: branches/pmc_pct/compilers/pmc/src/pmc_emitter.pir
==============================================================================
--- branches/pmc_pct/compilers/pmc/src/pmc_emitter.pir	Fri May  1 10:13:00 2009	(r38419)
+++ branches/pmc_pct/compilers/pmc/src/pmc_emitter.pir	Fri May  1 10:18:13 2009	(r38420)
@@ -74,16 +74,10 @@
     $P0 = get_hll_global ['PMC'; 'VTableInfo'], 'vtable_hash'
     vtable_hash = $P0()
     
-    class_init = self.'!class_init'(past)
-    $I0 = elements class_init
-    unless $I0 == 1 goto vtables_loop
-
     concat res, "void Parrot_"
     concat res, pmc_name
     concat res, "_class_init(PARROT_INTERP, int, int);\n" 
 
-  vtables_loop:  
-
     vtables = self.'!vtables'(past)
 
     it = iter vtables


More information about the parrot-commits mailing list