Fix -Asserts warning.

llvm-svn: 98927
This commit is contained in:
Daniel Dunbar 2010-03-19 03:18:20 +00:00
parent 0f7fbb3d00
commit ec71ba25e5
1 changed files with 1 additions and 2 deletions

View File

@ -1134,8 +1134,7 @@ bool TreePatternNode::ApplyTypeConstraints(TreePattern &TP, bool NotRegisters) {
if (getOperator()->isSubClassOf("Instruction")) {
const DAGInstruction &Inst = CDP.getInstruction(getOperator());
unsigned NumResults = Inst.getNumResults();
assert(NumResults <= 1 &&
assert(Inst.getNumResults() <= 1 &&
"Only supports zero or one result instrs!");
CodeGenInstruction &InstInfo =