Skip to content
Snippets Groups Projects
Commit 513b2847 authored by Lukáš Korenčik's avatar Lukáš Korenčik
Browse files

ra: Use brick::llvm::load_bc instead of custom utility function.

parent 5d693497
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <divine/mc/job.tpp> #include <divine/mc/job.tpp>
#include <divine/mc/safety.hpp> #include <divine/mc/safety.hpp>
#include <divine/ra/util.hpp> #include <brick-llvm>
DIVINE_RELAX_WARNINGS DIVINE_RELAX_WARNINGS
#include <llvm/IR/Module.h> #include <llvm/IR/Module.h>
...@@ -69,7 +69,7 @@ namespace divine::ra { ...@@ -69,7 +69,7 @@ namespace divine::ra {
{ {
if ( _bc_opts.input_file.name.empty() ) if ( _bc_opts.input_file.name.empty() )
UNREACHABLE( "Invalid options passed to refinement_t input_file is missing" ); UNREACHABLE( "Invalid options passed to refinement_t input_file is missing" );
_m = util::load_bc( _bc_opts.input_file.name, &*_ctx ); _m = brick::llvm::load_bc( _bc_opts.input_file.name, &*_ctx );
} }
auto make_bc() { auto make_bc() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment