[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/TraceValues.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Oct 19 16:36:25 PDT 2003


Changes in directory llvm/lib/Transforms/Instrumentation:

TraceValues.cpp updated: 1.61 -> 1.62

---
Log message:

Change the Opcode enum for PHI nodes from "Instruction::PHINode" to "Instruction::PHI" to be more consistent with the other instructions.



---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/Transforms/Instrumentation/TraceValues.cpp
diff -u llvm/lib/Transforms/Instrumentation/TraceValues.cpp:1.61 llvm/lib/Transforms/Instrumentation/TraceValues.cpp:1.62
--- llvm/lib/Transforms/Instrumentation/TraceValues.cpp:1.61	Sun Oct 12 22:32:08 2003
+++ llvm/lib/Transforms/Instrumentation/TraceValues.cpp	Sun Oct 19 16:34:28 2003
@@ -180,7 +180,7 @@
   // 
   return (opCode  < Instruction::OtherOpsBegin &&
           opCode != Instruction::Alloca &&
-          opCode != Instruction::PHINode &&
+          opCode != Instruction::PHI &&
           opCode != Instruction::Cast);
 }
 





More information about the llvm-commits mailing list