Skip to content
Permalink
Browse files

REQUIRE fixed_line to be found.

If we are given a particular line to run an experiment on; not finding that line should be FATAL.
  • Loading branch information
root
root committed Nov 6, 2019
1 parent 030f674 commit 2d140cce6d9de5f992fc8e1520381f3edb21abb9
Showing with 1 addition and 1 deletion.
  1. +1 −1 libcoz/libcoz.cpp
@@ -146,7 +146,7 @@ void init_coz(void) {
shared_ptr<line> fixed_line;
if(fixed_line_name != "") {
fixed_line = memory_map::get_instance().find_line(fixed_line_name);
PREFER(fixed_line) << "Fixed line \"" << fixed_line_name << "\" was not found.";
REQUIRE(fixed_line) << "Fixed line \"" << fixed_line_name << "\" was not found.";
}

// Create an end-to-end progress point and register it if running in

0 comments on commit 2d140cc

Please sign in to comment.
You can’t perform that action at this time.