From: Evan Cheng Date: Fri, 22 Feb 2008 19:25:04 +0000 (+0000) Subject: Remove an invalid assertion now that there are implicit virtual register operands. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8ec57d70051f70509e5db3345cd8d4f6cf9e5eb8;p=oota-llvm.git Remove an invalid assertion now that there are implicit virtual register operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47493 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetInstrDesc.h b/include/llvm/Target/TargetInstrDesc.h index 34e295cfb63..16142c656aa 100644 --- a/include/llvm/Target/TargetInstrDesc.h +++ b/include/llvm/Target/TargetInstrDesc.h @@ -122,8 +122,6 @@ public: /// it is set. Returns -1 if it is not set. int getOperandConstraint(unsigned OpNum, TOI::OperandConstraint Constraint) const { - assert((OpNum < NumOperands || isVariadic()) && - "Invalid operand # of TargetInstrInfo"); if (OpNum < NumOperands && (OpInfo[OpNum].Constraints & (1 << Constraint))) { unsigned Pos = 16 + Constraint * 4;