Cosmetic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56299 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2008-09-18 07:24:33 +00:00
parent b5b6ec6488
commit 3f7eb8eba0

View File

@ -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>()) {
} }