projects
/
fleet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
587e937
)
lift restriction on torpedoing finite-count loops
author
adam
<adam@megacz.com>
Mon, 3 Nov 2008 10:21:31 +0000
(11:21 +0100)
committer
adam
<adam@megacz.com>
Mon, 3 Nov 2008 10:21:31 +0000
(11:21 +0100)
src/edu/berkeley/fleet/ir/Context.java
patch
|
blob
|
history
diff --git
a/src/edu/berkeley/fleet/ir/Context.java
b/src/edu/berkeley/fleet/ir/Context.java
index
a5a3e09
..
c7463fc
100644
(file)
--- a/
src/edu/berkeley/fleet/ir/Context.java
+++ b/
src/edu/berkeley/fleet/ir/Context.java
@@
-184,7
+184,7
@@
public class Context {
/** must be followed immediately by a move-based instruction */
public void abortLoopIfTorpedoPresent() {
flush_pending();
- if (count!=0) throw new RuntimeException("currently, only forever-loops may be sensitive to torpedoes");
+ //if (count!=0) throw new RuntimeException("currently, only forever-loops may be sensitive to torpedoes");
pending_interruptible = true;
}