Some code clean and make the cache adapt version compile
[IRC.git] / Robust / src / IR / Flat / BuildCodeMultiCore.java
index 87fe2d166061275834a72a3201b38563e2a63ffe..16dc93b1889d69554308f4ffc880ff83a9aae8b1 100644 (file)
@@ -697,7 +697,7 @@ public class BuildCodeMultiCore extends BuildCode {
     /* Check to see if we need to do a GC if this is a
      * multi-threaded program...*/
     if(this.state.MULTICOREGC) {
-      output.println("if(gcflag) gc("+localsprefixaddr+");");
+      output.println("GCCHECK("+localsprefixaddr+");");
     }
 
     /* Create queues to store objects need to be transferred to other cores and their destination*/