Drop materializeAllPermanently.
[oota-llvm.git] / lib / ExecutionEngine / Interpreter / Interpreter.cpp
index 8cb9d45bb6806759390f0015fd6ee9d340508503..bc7da2e4f6afba5edce666ea1f373d7af416c74f 100644 (file)
@@ -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