diff options
-rw-r--r-- | lib/Target/IA64/IA64RegisterInfo.cpp | 21 | ||||
-rw-r--r-- | lib/Target/IA64/IA64RegisterInfo.h | 1 |
2 files changed, 0 insertions, 22 deletions
diff --git a/lib/Target/IA64/IA64RegisterInfo.cpp b/lib/Target/IA64/IA64RegisterInfo.cpp index f52ce47abc..e7e18dd3ea 100644 --- a/lib/Target/IA64/IA64RegisterInfo.cpp +++ b/lib/Target/IA64/IA64RegisterInfo.cpp @@ -339,24 +339,3 @@ void IA64RegisterInfo::emitEpilogue(MachineFunction &MF, #include "IA64GenRegisterInfo.inc" -const TargetRegisterClass* -IA64RegisterInfo::getRegClassForType(const Type* Ty) const { - switch (Ty->getTypeID()) { - default: assert(0 && "Invalid type to getClass!"); - case Type::LongTyID: - case Type::ULongTyID: - case Type::BoolTyID: - case Type::SByteTyID: - case Type::UByteTyID: - case Type::ShortTyID: - case Type::UShortTyID: - case Type::IntTyID: - case Type::UIntTyID: - case Type::PointerTyID: return &GRInstance; - - case Type::FloatTyID: - case Type::DoubleTyID: return &FPInstance; - } -} - - diff --git a/lib/Target/IA64/IA64RegisterInfo.h b/lib/Target/IA64/IA64RegisterInfo.h index ddc0988df1..1a6b00b8d3 100644 --- a/lib/Target/IA64/IA64RegisterInfo.h +++ b/lib/Target/IA64/IA64RegisterInfo.h @@ -23,7 +23,6 @@ namespace llvm { struct IA64RegisterInfo : public IA64GenRegisterInfo { IA64RegisterInfo(); - const TargetRegisterClass* getRegClassForType(const Type* Ty) const; /// Code Generation virtual methods... void storeRegToStackSlot(MachineBasicBlock &MBB, |