summaryrefslogtreecommitdiff
path: root/src/transformations/loop_extra.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/transformations/loop_extra.cc')
-rw-r--r--src/transformations/loop_extra.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transformations/loop_extra.cc b/src/transformations/loop_extra.cc
index ee54815..216f586 100644
--- a/src/transformations/loop_extra.cc
+++ b/src/transformations/loop_extra.cc
@@ -120,7 +120,7 @@ void Loop::peel(int stmt_num, int level, int peel_amount) {
}
}
if (!found_bound)
- throw loop_error("can't find lower bound for peeling at loop level " + to_string(level));
+ throw chill::error::loop("can't find lower bound for peeling at loop level " + to_string(level));
for (int i = 1; i <= peel_amount; i++) {
Relation r(level);
@@ -183,7 +183,7 @@ void Loop::peel(int stmt_num, int level, int peel_amount) {
}
}
if (!found_bound)
- throw loop_error("can't find upper bound for peeling at loop level " + to_string(level));
+ throw chill::error::loop("can't find upper bound for peeling at loop level " + to_string(level));
for (int i = 1; i <= -peel_amount; i++) {
Relation r(level);