mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-05 19:10:19 +00:00
Fix some checking that was causing duraid to get a perplexing assertion
instead of a happy error message llvm-svn: 23816
This commit is contained in:
parent
39538be7a5
commit
cac2ff4864
@ -226,7 +226,7 @@ namespace llvm {
|
||||
/// ContainsUnresolvedType - Return true if this tree contains any
|
||||
/// unresolved types.
|
||||
bool ContainsUnresolvedType() const {
|
||||
if (Ty == MVT::LAST_VALUETYPE) return true;
|
||||
if (!hasTypeSet()) return true;
|
||||
for (unsigned i = 0, e = getNumChildren(); i != e; ++i)
|
||||
if (getChild(i)->ContainsUnresolvedType()) return true;
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user