commit | ef6e26ea1f5004ddc1daa7d2a207abe73f6b3377 | [log] [tgz] |
---|---|---|
author | Philip Reames <listmail@philipreames.com> | Fri Feb 20 18:56:14 2015 +0000 |
committer | Philip Reames <listmail@philipreames.com> | Fri Feb 20 18:56:14 2015 +0000 |
tree | d85f64ca7cc2719e39276cd0c5678c07e2d2d3cc | |
parent | dd38f4e94d750edebb33af72aac597de6696bbb9 [diff] |
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. :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230040 91177308-0d34-0410-b5e6-96231b3b80d8