From 3dd5c800f9f968ace96ae03a8cd642f8fc8b9065 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Wed, 6 Jul 2011 11:02:03 +0000 Subject: [PATCH] bug fix --- Robust/src/IR/Flat/BuildCodeMGC.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.34.1