mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
Cosmetic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56299 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b5b6ec6488
commit
3f7eb8eba0
@ -37,15 +37,17 @@ using namespace llvm;
|
|||||||
///
|
///
|
||||||
namespace {
|
namespace {
|
||||||
class ARMDAGToDAGISel : public SelectionDAGISel {
|
class ARMDAGToDAGISel : public SelectionDAGISel {
|
||||||
ARMTargetLowering Lowering;
|
ARMTargetMachine &TM;
|
||||||
|
|
||||||
|
ARMTargetLowering ARMLowering;
|
||||||
|
|
||||||
/// Subtarget - Keep a pointer to the ARMSubtarget around so that we can
|
/// Subtarget - Keep a pointer to the ARMSubtarget around so that we can
|
||||||
/// make the right decision when generating code for different targets.
|
/// make the right decision when generating code for different targets.
|
||||||
const ARMSubtarget *Subtarget;
|
const ARMSubtarget *Subtarget;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit ARMDAGToDAGISel(ARMTargetMachine &TM)
|
explicit ARMDAGToDAGISel(ARMTargetMachine &tm)
|
||||||
: SelectionDAGISel(Lowering), Lowering(TM),
|
: SelectionDAGISel(ARMLowering), TM(tm), ARMLowering(tm),
|
||||||
Subtarget(&TM.getSubtarget<ARMSubtarget>()) {
|
Subtarget(&TM.getSubtarget<ARMSubtarget>()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user