File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1485,7 +1485,8 @@ namespace LCompilers {
1485
1485
break ;
1486
1486
}
1487
1487
default : {
1488
- // can exit with error
1488
+ throw LCompilersException (" LLVMUtils::is_ineq_by_value unsupported overload_id " +
1489
+ std::to_string (overload_id));
1489
1490
}
1490
1491
}
1491
1492
return builder->CreateCmp (pred, left, right);
@@ -1509,7 +1510,8 @@ namespace LCompilers {
1509
1510
break ;
1510
1511
}
1511
1512
default : {
1512
- // can exit with error
1513
+ throw LCompilersException (" LLVMUtils::is_ineq_by_value unsupported overload_id " +
1514
+ std::to_string (overload_id));
1513
1515
}
1514
1516
}
1515
1517
return builder->CreateCmp (pred, left, right);
@@ -1556,7 +1558,8 @@ namespace LCompilers {
1556
1558
break ;
1557
1559
}
1558
1560
default : {
1559
- // can exit with error
1561
+ throw LCompilersException (" LLVMUtils::is_ineq_by_value unsupported overload_id " +
1562
+ std::to_string (overload_id));
1560
1563
}
1561
1564
}
1562
1565
cond = builder->CreateAnd (cond, builder->CreateCmp (pred, l, r));
You can’t perform that action at this time.
0 commit comments