diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-13 19:39:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-13 19:39:16 +0000 |
commit | 0b16ae209a1d0876a7ea6800bb567d925443cba3 (patch) | |
tree | efd67aacd32694e22c88507aa97287461bfd0910 /lib/VMCore/Constants.cpp | |
parent | f6c52db3715d53e195c5a7429987deba71ed0af7 (diff) |
- Rename Instruction::First*Op to *OpsBegin, and Num*Ops to *OpsEnd to
reflect the fact that it's a range being defined.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4147 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Constants.cpp')
-rw-r--r-- | lib/VMCore/Constants.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp index d0413f12b3..8464c437fc 100644 --- a/lib/VMCore/Constants.cpp +++ b/lib/VMCore/Constants.cpp @@ -634,8 +634,8 @@ ConstantExpr *ConstantExpr::get(unsigned Opcode, Constant *C1, Constant *C2) { // Its not in the table so create a new one and put it in the table. // Check the operands for consistency first - assert((Opcode >= Instruction::FirstBinaryOp && - Opcode < Instruction::NumBinaryOps) && + assert((Opcode >= Instruction::BinaryOpsBegin && + Opcode < Instruction::BinaryOpsEnd) && "Invalid opcode in binary constant expression"); assert(C1->getType() == C2->getType() && |