mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
Remove the TargetLowering::getSubtarget() virtual function, which
was unused. TargetMachine::getSubtarget() is used instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103474 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1103,12 +1103,6 @@ protected:
|
|||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
virtual const TargetSubtarget *getSubtarget() const {
|
|
||||||
assert(0 && "Not Implemented");
|
|
||||||
return NULL; // this is here to silence compiler errors
|
|
||||||
}
|
|
||||||
|
|
||||||
//===--------------------------------------------------------------------===//
|
//===--------------------------------------------------------------------===//
|
||||||
// Lowering methods - These methods must be implemented by targets so that
|
// Lowering methods - These methods must be implemented by targets so that
|
||||||
// the SelectionDAGLowering code knows how to lower these.
|
// the SelectionDAGLowering code knows how to lower these.
|
||||||
|
@@ -236,7 +236,7 @@ namespace llvm {
|
|||||||
std::vector<SDValue> &Ops,
|
std::vector<SDValue> &Ops,
|
||||||
SelectionDAG &DAG) const;
|
SelectionDAG &DAG) const;
|
||||||
|
|
||||||
virtual const ARMSubtarget* getSubtarget() const {
|
const ARMSubtarget* getSubtarget() const {
|
||||||
return Subtarget;
|
return Subtarget;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -563,7 +563,7 @@ namespace llvm {
|
|||||||
return !X86ScalarSSEf64 || VT == MVT::f80;
|
return !X86ScalarSSEf64 || VT == MVT::f80;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual const X86Subtarget* getSubtarget() const {
|
const X86Subtarget* getSubtarget() const {
|
||||||
return Subtarget;
|
return Subtarget;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user