From: adam Date: Mon, 3 Nov 2008 10:22:32 +0000 (+0100) Subject: move setAutoflush() lines X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=fac5145605314a897a07f9f5c0daa8542fe48553;p=fleet.git move setAutoflush() lines --- diff --git a/src/edu/berkeley/fleet/ir/Context.java b/src/edu/berkeley/fleet/ir/Context.java index c7463fc..c9e6471 100644 --- a/src/edu/berkeley/fleet/ir/Context.java +++ b/src/edu/berkeley/fleet/ir/Context.java @@ -46,6 +46,9 @@ public class Context { public final Fleet fleet; public Context(Fleet fleet) { this.fleet = fleet; } + private boolean autoflush = false; + public void setAutoflush(boolean a) { this.autoflush = a; } + // FIXME: ability for a group of Contexts to share an "allocation // pool" because they will run concurrently. public HashSet allocatedShips = new HashSet(); @@ -313,9 +316,6 @@ public class Context { // FEATURE: clever instruction re-oredering? } - private boolean autoflush = false; - public void setAutoflush(boolean a) { this.autoflush = a; } - /** * The code emitted by this method makes the following assumptions: *