Skip to content

Commit 031001e

Browse files
committed
Remove unnecessary result type match for comparison operators
Always TInt.
1 parent cd31c1a commit 031001e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/autoTune.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ class octagonVariableVisitor(varMap, globals) = object
376376

377377
method! vexpr = function
378378
(*an expression of type +/- a +/- b where a,b are either variables or constants*)
379-
| BinOp (op, e1,e2, (TInt _)) when isComparison op -> (
379+
| BinOp (op, e1,e2, _) when isComparison op -> (
380380
List.iter (fun var -> addOrCreateVarMapping varMap var 5 globals) (extractOctagonVars e1);
381381
List.iter (fun var -> addOrCreateVarMapping varMap var 5 globals) (extractOctagonVars e2);
382382
DoChildren

0 commit comments

Comments
 (0)