Drop materializeAllPermanently.
[oota-llvm.git] / tools / lli / lli.cpp
index 949b444cc28169dde13962e91eafa34ac58b8c59..9f714060c17a5b36aec8fad810d04d789626d69a 100644 (file)
@@ -421,7 +421,7 @@ int main(int argc, char **argv, char * const *envp) {
 
   // If not jitting lazily, load the whole bitcode file eagerly too.
   if (NoLazyCompilation) {
-    if (std::error_code EC = Mod->materializeAllPermanently()) {
+    if (std::error_code EC = Mod->materializeAll()) {
       errs() << argv[0] << ": bitcode didn't read correctly.\n";
       errs() << "Reason: " << EC.message() << "\n";
       exit(1);