diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2017-01-28 23:22:40 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2017-01-28 23:22:40 +0000 |
commit | 26308a68c86577572f223870358a1a1df8d1a03e (patch) | |
tree | 0a3aed4a1c1976214c7b494f9075016a053bce75 /llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp | |
parent | 073ec350242ddcf83ec434a2dc561a204bd05496 (diff) | |
download | llvm-26308a68c86577572f223870358a1a1df8d1a03e.zip llvm-26308a68c86577572f223870358a1a1df8d1a03e.tar.gz llvm-26308a68c86577572f223870358a1a1df8d1a03e.tar.bz2 |
Modules: Return early in ModuleManager::addModule; NFC
Invert the main branch in ModuleManager::addModule to return early and
reduce indentation, and clean up a bunch of logic as a result. I split
out a function called updateModuleImports to avoid triggering code
duplication.
llvm-svn: 293400
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp')
0 files changed, 0 insertions, 0 deletions