projects
/
repair.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d82680
)
Small improvement.
author
bdemsky
<bdemsky>
Wed, 1 Jun 2005 05:45:44 +0000
(
05:45
+0000)
committer
bdemsky
<bdemsky>
Wed, 1 Jun 2005 05:45:44 +0000
(
05:45
+0000)
Repair/RepairCompiler/MCC/IR/GraphAnalysis.java
patch
|
blob
|
history
diff --git
a/Repair/RepairCompiler/MCC/IR/GraphAnalysis.java
b/Repair/RepairCompiler/MCC/IR/GraphAnalysis.java
index 270af789be65255fe78c16da8a091ce922889719..875baa2308062f87c6506b081f6d853ae1f6dd55 100755
(executable)
--- a/
Repair/RepairCompiler/MCC/IR/GraphAnalysis.java
+++ b/
Repair/RepairCompiler/MCC/IR/GraphAnalysis.java
@@
-56,6
+56,9
@@
public class GraphAnalysis {
if (cantremove.contains(gn3)||
cantremovetrans.contains(gn3)) {
needcyclecheck=true;
+ } else if (termination.updatenodes.contains(gn3)&&
+ !couldremove.contains(gn3)) {
+ needcyclecheck=true;
} else return false;
}
if ((!couldremove.contains(gn3))||cantremove.contains(gn3))