Drop materializeAllPermanently.

This inlines materializeAll into the only caller
(materializeAllPermanently) and renames materializeAllPermanently to
just materializeAll.

llvm-svn: 256024
This commit is contained in:
Rafael Espindola
2015-12-18 20:13:39 +00:00
parent e5dafd1765
commit c4a03483f4
6 changed files with 8 additions and 16 deletions

View File

@@ -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;