diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-12-18 20:13:39 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-12-18 20:13:39 +0000 |
commit | c4a03483f4c53c71fb6763f7abb3204ee3053b69 (patch) | |
tree | ea6d8350c4f9c2a25e6180ee9aa8387b643d9510 /llvm/lib/ExecutionEngine/Interpreter | |
parent | e5dafd176555e9ea564889247737fec4d622fb9e (diff) | |
download | bcm5719-llvm-c4a03483f4c53c71fb6763f7abb3204ee3053b69.tar.gz bcm5719-llvm-c4a03483f4c53c71fb6763f7abb3204ee3053b69.zip |
Drop materializeAllPermanently.
This inlines materializeAll into the only caller
(materializeAllPermanently) and renames materializeAllPermanently to
just materializeAll.
llvm-svn: 256024
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp index 8cb9d45bb68..bc7da2e4f6a 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp +++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp @@ -35,7 +35,7 @@ extern "C" void LLVMLinkInInterpreter() { } ExecutionEngine *Interpreter::create(std::unique_ptr<Module> M, std::string *ErrStr) { // Tell this Module to materialize everything and release the GVMaterializer. - if (std::error_code EC = M->materializeAllPermanently()) { + if (std::error_code EC = M->materializeAll()) { if (ErrStr) *ErrStr = EC.message(); // We got an error, just return 0 |