Fixed inteferes bug, improved precision of other analysis to allow
[repair.git] / Repair / RepairCompiler / MCC / IR / OpExpr.java
index 23644364db60649b6a49b0e227405be1b741fa91..0dadae2701c75da28594875e956037c7c7950fb6 100755 (executable)
@@ -44,7 +44,8 @@ public class OpExpr extends Expr {
 
     public Set getfunctions() {
        Set leftfunctions=left.getfunctions();
-       Set rightfunctions=right.getfunctions();
+       Set rightfunctions=null;
+       if (right!=null) rightfunctions=right.getfunctions();
        if (leftfunctions!=null&&rightfunctions!=null) {
            HashSet functions=new HashSet();
            functions.addAll(leftfunctions);