From 4bd4a54d57998ae17dd8ddeb5e9a475142b1ba64 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 28 Oct 2005 04:58:24 +0000 Subject: [PATCH] remove dead stuff git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24054 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/IA64/IA64RegisterInfo.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/Target/IA64/IA64RegisterInfo.cpp b/lib/Target/IA64/IA64RegisterInfo.cpp index 73ee3982189..14f4e8f3da0 100644 --- a/lib/Target/IA64/IA64RegisterInfo.cpp +++ b/lib/Target/IA64/IA64RegisterInfo.cpp @@ -28,26 +28,12 @@ #include "llvm/Support/CommandLine.h" #include "llvm/ADT/STLExtras.h" #include - using namespace llvm; -namespace { -} IA64RegisterInfo::IA64RegisterInfo() : IA64GenRegisterInfo(IA64::ADJUSTCALLSTACKDOWN, IA64::ADJUSTCALLSTACKUP) {} -static const TargetRegisterClass *getClass(unsigned SrcReg) { - if (IA64::FPRegisterClass->contains(SrcReg)) - return IA64::FPRegisterClass; - if (IA64::PRRegisterClass->contains(SrcReg)) - return IA64::PRRegisterClass; - - assert(IA64::GRRegisterClass->contains(SrcReg) && - "PROBLEM: Reg is not FP, predicate or GR!"); - return IA64::GRRegisterClass; -} - void IA64RegisterInfo::storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, unsigned SrcReg, int FrameIdx, -- 2.34.1