projects
/
repair.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
803278c
)
Bug in the analysis...oops
author
bdemsky
<bdemsky>
Tue, 27 Apr 2004 21:33:04 +0000
(21:33 +0000)
committer
bdemsky
<bdemsky>
Tue, 27 Apr 2004 21:33:04 +0000
(21:33 +0000)
Repair/RepairCompiler/MCC/IR/ArrayAnalysis.java
patch
|
blob
|
history
diff --git
a/Repair/RepairCompiler/MCC/IR/ArrayAnalysis.java
b/Repair/RepairCompiler/MCC/IR/ArrayAnalysis.java
index 4940d3b4d72270060145dd72278d56b34ad7b18d..670cd7926a432980513cf14539e6b788a755c434 100755
(executable)
--- a/
Repair/RepairCompiler/MCC/IR/ArrayAnalysis.java
+++ b/
Repair/RepairCompiler/MCC/IR/ArrayAnalysis.java
@@
-85,7
+85,7
@@
public class ArrayAnalysis {
Expr ptr=e;
while(true) {
if (!(ptr instanceof DotExpr))
- return
null
; /* Does something other than a dereference */
+ return
AccessPath.NONE
; /* Does something other than a dereference */
DotExpr de=(DotExpr)ptr;
dotvector.add(de);
ptr=de.left;