From: Craig Topper Date: Sun, 27 Apr 2014 19:40:43 +0000 (+0000) Subject: Fix an assert I accidentally broke to hopefully fix the build bots. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=fe2da45555f3647ee08dfc4d5fc9c81fb0995c0e;p=oota-llvm.git Fix an assert I accidentally broke to hopefully fix the build bots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207380 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index aff0f68c6bd..4f0ddb7c916 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -1689,7 +1689,7 @@ class CvtRndSatSDNode : public SDNode { ArrayRef Ops, ISD::CvtCode Code) : SDNode(ISD::CONVERT_RNDSAT, Order, dl, getSDVTList(VT), Ops), CvtCode(Code) { - assert(NumOps == 5 && "wrong number of operations"); + assert(Ops.size() == 5 && "wrong number of operations"); } public: ISD::CvtCode getCvtCode() const { return CvtCode; }