bug fix
authorbdemsky <bdemsky>
Wed, 6 Jul 2011 11:02:03 +0000 (11:02 +0000)
committerbdemsky <bdemsky>
Wed, 6 Jul 2011 11:02:03 +0000 (11:02 +0000)
Robust/src/IR/Flat/BuildCodeMGC.java

index 90f326b5af42a41bfe4c0b589e757c0b8c2e30ef..a559b70669e560f487866e84c26fb59bcb2d8bdb 100644 (file)
@@ -131,7 +131,7 @@ public class BuildCodeMGC extends BuildCode {
     outstructs.println("#define NUMCORESACTIVE "+this.coreNum); // this.coreNum
     // can be reset by the scheduling analysis
     /* Record number of garbage collection cores */
-    outstructs.println("#ifdef MULTICORE_GC");
+    outstructs.println("#if defined(MULTICORE_GC)||defined(PMC_GC)");
     outstructs.println("#define NUMCORES4GC "+this.gcoreNum);
     outstructs.println("#endif");
     /* Record number of core containing startup task */