projects
/
repair.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2 bug fixes to getRequiredConstraints
[repair.git]
/
Repair
/
RepairCompiler
/
MCC
/
IR
/
VarExpr.java
diff --git
a/Repair/RepairCompiler/MCC/IR/VarExpr.java
b/Repair/RepairCompiler/MCC/IR/VarExpr.java
index 3720a4cc6e1976d83a75f4d16353ccbf4a9f81ab..e94f6fb8cdf87b006a2b418e0ff3ec3a96e3cbbc 100755
(executable)
--- a/
Repair/RepairCompiler/MCC/IR/VarExpr.java
+++ b/
Repair/RepairCompiler/MCC/IR/VarExpr.java
@@
-83,7
+83,10
@@
public class VarExpr extends Expr {
}
public Set getRequiredDescriptors() {
}
public Set getRequiredDescriptors() {
- return new HashSet();
+ Set s=new HashSet();
+ s.add(vd);
+ return s;
+
}
public VarDescriptor getVar() {
}
public VarDescriptor getVar() {