summaryrefslogtreecommitdiff
path: root/lib/Transforms/Instrumentation/TraceValues.cpp
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
commit0b16ae209a1d0876a7ea6800bb567d925443cba3 (patch)
treeefd67aacd32694e22c88507aa97287461bfd0910 /lib/Transforms/Instrumentation/TraceValues.cpp
parentf6c52db3715d53e195c5a7429987deba71ed0af7 (diff)
downloadllvm-0b16ae209a1d0876a7ea6800bb567d925443cba3.tar.gz
llvm-0b16ae209a1d0876a7ea6800bb567d925443cba3.tar.bz2
llvm-0b16ae209a1d0876a7ea6800bb567d925443cba3.tar.xz
- 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/Transforms/Instrumentation/TraceValues.cpp')
-rw-r--r--lib/Transforms/Instrumentation/TraceValues.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/TraceValues.cpp b/lib/Transforms/Instrumentation/TraceValues.cpp
index 5abfe27238..7c9d60fa20 100644
--- a/lib/Transforms/Instrumentation/TraceValues.cpp
+++ b/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);