aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMISelDAGToDAG.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-09-18 07:24:33 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-09-18 07:24:33 +0000
commit0edb69d3fb4b1a30c2bccb76b34e12d6e9eaa675 (patch)
treeac926c7ecf751d079f303dde31e0c63c0c309af1 /lib/Target/ARM/ARMISelDAGToDAG.cpp
parent49e98b51c5210a946df306eaff7df79dbb1a5ce3 (diff)
downloadexternal_llvm-0edb69d3fb4b1a30c2bccb76b34e12d6e9eaa675.zip
external_llvm-0edb69d3fb4b1a30c2bccb76b34e12d6e9eaa675.tar.gz
external_llvm-0edb69d3fb4b1a30c2bccb76b34e12d6e9eaa675.tar.bz2
Cosmetic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56299 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelDAGToDAG.cpp')
-rw-r--r--lib/Target/ARM/ARMISelDAGToDAG.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMISelDAGToDAG.cpp b/lib/Target/ARM/ARMISelDAGToDAG.cpp
index f17cc5a..46b9a19 100644
--- a/lib/Target/ARM/ARMISelDAGToDAG.cpp
+++ b/lib/Target/ARM/ARMISelDAGToDAG.cpp
@@ -37,15 +37,17 @@ using namespace llvm;
///
namespace {
class ARMDAGToDAGISel : public SelectionDAGISel {
- ARMTargetLowering Lowering;
+ ARMTargetMachine &TM;
+
+ ARMTargetLowering ARMLowering;
/// Subtarget - Keep a pointer to the ARMSubtarget around so that we can
/// make the right decision when generating code for different targets.
const ARMSubtarget *Subtarget;
public:
- explicit ARMDAGToDAGISel(ARMTargetMachine &TM)
- : SelectionDAGISel(Lowering), Lowering(TM),
+ explicit ARMDAGToDAGISel(ARMTargetMachine &tm)
+ : SelectionDAGISel(ARMLowering), TM(tm), ARMLowering(tm),
Subtarget(&TM.getSubtarget<ARMSubtarget>()) {
}