diff options
author | Philip Reames <listmail@philipreames.com> | 2015-02-20 18:56:14 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2015-02-20 18:56:14 +0000 |
commit | 2ef029c7ae2d3ef31d71b179035a3f59f6b77386 (patch) | |
tree | 9bdc8d4513d78f31cbf50a85cf1be9b087423354 /clang/lib/Serialization/ModuleManager.cpp | |
parent | 9cda4b7ed941750dde35d9a289a5c00aa1f6c872 (diff) | |
download | bcm5719-llvm-2ef029c7ae2d3ef31d71b179035a3f59f6b77386.tar.gz bcm5719-llvm-2ef029c7ae2d3ef31d71b179035a3f59f6b77386.zip |
Bugfix for 229954
Before calling Function::getGC to test for enablement, we need to make sure there's actually a GC at all via Function::hasGC. Otherwise, we'd crash on functions without a GC. Thankfully, this only mattered if you manually scheduled the pass, but still, oops. :(
llvm-svn: 230040
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions