summaryrefslogtreecommitdiff
path: root/lib
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
commit3f7eb8eba083677d38cc8c96f00a945399421aaf (patch)
treeac926c7ecf751d079f303dde31e0c63c0c309af1 /lib
parentb5b6ec64889b6ee1f75c9a21efb99570e58a517f (diff)
downloadllvm-3f7eb8eba083677d38cc8c96f00a945399421aaf.tar.gz
llvm-3f7eb8eba083677d38cc8c96f00a945399421aaf.tar.bz2
llvm-3f7eb8eba083677d38cc8c96f00a945399421aaf.tar.xz
Cosmetic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56299 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-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 f17cc5a04a..46b9a19376 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>()) {
}