summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-13 19:39:16 +0000
committerChris Lattner <sabre@nondot.org>2002-10-13 19:39:16 +0000
commit69ce8674b5edeb6a1c8290cb7eefcd44ab28f3a2 (patch)
tree298416246806b96f35aa0f2499bd3d891b9683b0 /llvm/lib/Transforms
parentb0f38789dafe7d713f5a4b4f34fb8c20eeb6e7b8 (diff)
downloadbcm5719-llvm-69ce8674b5edeb6a1c8290cb7eefcd44ab28f3a2.tar.gz
bcm5719-llvm-69ce8674b5edeb6a1c8290cb7eefcd44ab28f3a2.zip
- 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
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Instrumentation/TraceValues.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/TraceValues.cpp b/llvm/lib/Transforms/Instrumentation/TraceValues.cpp
index 5abfe272387..7c9d60fa204 100644
--- a/llvm/lib/Transforms/Instrumentation/TraceValues.cpp
+++ b/llvm/lib/Transforms/Instrumentation/TraceValues.cpp
@@ -179,7 +179,7 @@ static inline bool TraceThisOpCode(unsigned opCode) {
// Explicitly test for opCodes *not* to trace so that any new opcodes will
// be traced by default (VoidTy's are already excluded)
//
- return (opCode < Instruction::FirstOtherOp &&
+ return (opCode < Instruction::OtherOpsBegin &&
opCode != Instruction::Alloca &&
opCode != Instruction::PHINode &&
opCode != Instruction::Cast);
OpenPOWER on IntegriCloud