diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2017-01-29 04:42:21 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2017-01-29 04:42:21 +0000 |
commit | 688b69adf8f2b854cf3e532adc8db20e00638736 (patch) | |
tree | 1e593d9763deb267ed1aa1ce5690093ee1f003b5 /clang/tools/c-index-test/core_main.cpp | |
parent | 4753736abfe807e623b0b327d32a78d23d770c08 (diff) | |
download | bcm5719-llvm-688b69adf8f2b854cf3e532adc8db20e00638736.tar.gz bcm5719-llvm-688b69adf8f2b854cf3e532adc8db20e00638736.zip |
Modules: Fix a minor performance bug from r293393
Oops... r293393 started calling ReadSignature in
ModuleManager::addModule even when there was no ExpectedSignature.
Whether or not this would have a measurable performance impact (I
spotted this by inspection, and ReadSignature should be fairly fast), we
might as well get what we can. Add an extra check against
ExpectedSignature to avoid the hit.
llvm-svn: 293415
Diffstat (limited to 'clang/tools/c-index-test/core_main.cpp')
0 files changed, 0 insertions, 0 deletions