Delete an unused function.
authorDan Gohman <gohman@apple.com>
Wed, 14 Apr 2010 17:22:02 +0000 (17:22 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 14 Apr 2010 17:22:02 +0000 (17:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101263 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGISel.h
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 4dbad89d5fc2b058af2583c6b2b3ec7d6e494916..f1c2ce6e5a53ded4c024727bd9bb270cc3e72b04 100644 (file)
@@ -62,8 +62,6 @@ public:
 
   virtual bool runOnMachineFunction(MachineFunction &MF);
 
-  unsigned MakeReg(EVT VT);
-
   virtual void EmitFunctionEntryCode(Function &Fn, MachineFunction &MF) {}
   
   /// PreprocessISelDAG - This hook allows targets to hack on the graph before
index 4682c294b98be26406adddd6d18e4d38e47b8b1d..5dd216bfaa8186a610a31d49d35b750d6dd34f98 100644 (file)
@@ -180,10 +180,6 @@ SelectionDAGISel::~SelectionDAGISel() {
   delete FuncInfo;
 }
 
-unsigned SelectionDAGISel::MakeReg(EVT VT) {
-  return RegInfo->createVirtualRegister(TLI.getRegClassFor(VT));
-}
-
 void SelectionDAGISel::getAnalysisUsage(AnalysisUsage &AU) const {
   AU.addRequired<AliasAnalysis>();
   AU.addPreserved<AliasAnalysis>();