[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Jun 17 13:24:07 PDT 2004
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAG.cpp updated: 1.5 -> 1.6
---
Log message:
Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.5 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.6
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.5 Tue Jun 1 23:28:06 2004
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Thu Jun 17 13:16:35 2004
@@ -31,7 +31,7 @@
/// method works on all scalar LLVM types.
///
MVT::ValueType SelectionDAG::getValueType(const Type *Ty) const {
- switch (Ty->getPrimitiveID()) {
+ switch (Ty->getTypeID()) {
case Type::VoidTyID: assert(0 && "Void type object in getValueType!");
default: assert(0 && "Unknown type in DAGBuilder!\n");
case Type::BoolTyID: return MVT::i1;
More information about the llvm-commits
mailing list