[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/TraceValues.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Oct 13 14:40:17 PDT 2002
Changes in directory llvm/lib/Transforms/Instrumentation:
TraceValues.cpp updated: 1.48 -> 1.49
---
Log message:
- Rename Instruction::First*Op to *OpsBegin, and Num*Ops to *OpsEnd to
reflect the fact that it's a range being defined.
---
Diffs of the changes:
Index: llvm/lib/Transforms/Instrumentation/TraceValues.cpp
diff -u llvm/lib/Transforms/Instrumentation/TraceValues.cpp:1.48 llvm/lib/Transforms/Instrumentation/TraceValues.cpp:1.49
--- llvm/lib/Transforms/Instrumentation/TraceValues.cpp:1.48 Tue Sep 10 20:21:26 2002
+++ llvm/lib/Transforms/Instrumentation/TraceValues.cpp Sun Oct 13 14:39:15 2002
@@ -179,7 +179,7 @@
// 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);
More information about the llvm-commits
mailing list