[llvm-commits] CVS: llvm/lib/Target/PowerPC/PowerPCRegisterInfo.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Jun 17 13:24:04 PDT 2004
Changes in directory llvm/lib/Target/PowerPC:
PowerPCRegisterInfo.cpp updated: 1.4 -> 1.5
---
Log message:
Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Target/PowerPC/PowerPCRegisterInfo.cpp
diff -u llvm/lib/Target/PowerPC/PowerPCRegisterInfo.cpp:1.4 llvm/lib/Target/PowerPC/PowerPCRegisterInfo.cpp:1.5
--- llvm/lib/Target/PowerPC/PowerPCRegisterInfo.cpp:1.4 Sat Feb 14 13:49:25 2004
+++ llvm/lib/Target/PowerPC/PowerPCRegisterInfo.cpp Thu Jun 17 13:17:17 2004
@@ -79,7 +79,7 @@
const TargetRegisterClass*
PowerPCRegisterInfo::getRegClassForType(const Type* Ty) const {
- switch (Ty->getPrimitiveID()) {
+ switch (Ty->getTypeID()) {
case Type::LongTyID:
case Type::ULongTyID: assert(0 && "Long values can't fit in registers!");
default: assert(0 && "Invalid type to getClass!");
More information about the llvm-commits
mailing list