From: bdemsky Date: Wed, 6 Jul 2011 11:02:03 +0000 (+0000) Subject: bug fix X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3dd5c800f9f968ace96ae03a8cd642f8fc8b9065;p=IRC.git bug fix --- diff --git a/Robust/src/IR/Flat/BuildCodeMGC.java b/Robust/src/IR/Flat/BuildCodeMGC.java index 90f326b5..a559b706 100644 --- a/Robust/src/IR/Flat/BuildCodeMGC.java +++ b/Robust/src/IR/Flat/BuildCodeMGC.java @@ -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 */