From 15e8ff480e7a75f4dce8c8d41da157cf51bd3cb8 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Mon, 26 Sep 2016 15:18:38 -0600 Subject: namespaced error --- src/transformations/loop_extra.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/transformations/loop_extra.cc') 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); -- cgit v1.2.3-70-g09d2