[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 18 21:12:26 PDT 2005
Changes in directory llvm/utils/TableGen:
DAGISelEmitter.h updated: 1.33 -> 1.34
---
Log message:
Fix some checking that was causing duraid to get a perplexing assertion
instead of a happy error message
---
Diffs of the changes: (+1 -1)
DAGISelEmitter.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/utils/TableGen/DAGISelEmitter.h
diff -u llvm/utils/TableGen/DAGISelEmitter.h:1.33 llvm/utils/TableGen/DAGISelEmitter.h:1.34
--- llvm/utils/TableGen/DAGISelEmitter.h:1.33 Sat Oct 15 20:41:58 2005
+++ llvm/utils/TableGen/DAGISelEmitter.h Tue Oct 18 23:12:14 2005
@@ -226,7 +226,7 @@
/// 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;
More information about the llvm-commits
mailing list