From 69ce8674b5edeb6a1c8290cb7eefcd44ab28f3a2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 13 Oct 2002 19:39:16 +0000 Subject: - Rename Instruction::First*Op to *OpsBegin, and Num*Ops to *OpsEnd to reflect the fact that it's a range being defined. llvm-svn: 4147 --- llvm/lib/Target/Sparc/PreSelection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Target/Sparc/PreSelection.cpp') diff --git a/llvm/lib/Target/Sparc/PreSelection.cpp b/llvm/lib/Target/Sparc/PreSelection.cpp index 916938dabec..56c34edbb7f 100644 --- a/llvm/lib/Target/Sparc/PreSelection.cpp +++ b/llvm/lib/Target/Sparc/PreSelection.cpp @@ -214,8 +214,8 @@ static Instruction* DecomposeConstantExpr(ConstantExpr* CE, "constantGEP", &insertBefore); default: // must be a binary operator - assert(CE->getOpcode() >= Instruction::FirstBinaryOp && - CE->getOpcode() < Instruction::NumBinaryOps && + assert(CE->getOpcode() >= Instruction::BinaryOpsBegin && + CE->getOpcode() < Instruction::BinaryOpsEnd && "Unrecognized opcode in ConstantExpr"); getArg1 = CE->getOperand(0); if (ConstantExpr* CEarg = dyn_cast(getArg1)) -- cgit v1.2.3