- 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
diff --git a/llvm/lib/Target/Sparc/PreSelection.cpp b/llvm/lib/Target/Sparc/PreSelection.cpp
index 916938d..56c34ed 100644
--- a/llvm/lib/Target/Sparc/PreSelection.cpp
+++ b/llvm/lib/Target/Sparc/PreSelection.cpp
@@ -214,8 +214,8 @@
"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<ConstantExpr>(getArg1))