[llvm-commits] CVS: llvm/lib/Target/SparcV9/InstrSelection/InstrForest.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Jun 17 13:26:01 PDT 2004
Changes in directory llvm/lib/Target/SparcV9/InstrSelection:
InstrForest.cpp updated: 1.51 -> 1.52
---
Log message:
Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Target/SparcV9/InstrSelection/InstrForest.cpp
diff -u llvm/lib/Target/SparcV9/InstrSelection/InstrForest.cpp:1.51 llvm/lib/Target/SparcV9/InstrSelection/InstrForest.cpp:1.52
--- llvm/lib/Target/SparcV9/InstrSelection/InstrForest.cpp:1.51 Sat May 29 18:26:13 2004
+++ llvm/lib/Target/SparcV9/InstrSelection/InstrForest.cpp Thu Jun 17 13:17:12 2004
@@ -79,7 +79,7 @@
opLabel = opLabel + 100; // bitwise operator
} else if (opLabel == Instruction::Cast) {
const Type *ITy = I->getType();
- switch(ITy->getPrimitiveID())
+ switch(ITy->getTypeID())
{
case Type::BoolTyID: opLabel = ToBoolTy; break;
case Type::UByteTyID: opLabel = ToUByteTy; break;
More information about the llvm-commits
mailing list