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/tools | |
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/tools')
-rw-r--r-- | llvm/tools/lli/lli.cpp | 2 | ||||
-rw-r--r-- | llvm/tools/llvm-dis/llvm-dis.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/lli/lli.cpp b/llvm/tools/lli/lli.cpp index 949b444cc28..9f714060c17 100644 --- a/llvm/tools/lli/lli.cpp +++ b/llvm/tools/lli/lli.cpp @@ -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); diff --git a/llvm/tools/llvm-dis/llvm-dis.cpp b/llvm/tools/llvm-dis/llvm-dis.cpp index 4b7d94d5b26..9fdfcd4256c 100644 --- a/llvm/tools/llvm-dis/llvm-dis.cpp +++ b/llvm/tools/llvm-dis/llvm-dis.cpp @@ -159,7 +159,7 @@ int main(int argc, char **argv) { ErrorOr<std::unique_ptr<Module>> MOrErr = getStreamedBitcodeModule(DisplayFilename, std::move(Streamer), Context); M = std::move(*MOrErr); - M->materializeAllPermanently(); + M->materializeAll(); } else { errs() << argv[0] << ": " << ErrorMessage << '\n'; return 1; |