Move the target machine variable so that it's initialized early
enough we can use it to initialize frame lowering.
llvm-svn: 229168
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h
index ed1e9ac..ce17c1e 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.h
+++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h
@@ -119,12 +119,11 @@
PPC_ABI_ELFv1,
PPC_ABI_ELFv2
} TargetABI;
-
+ const PPCTargetMachine &TM;
PPCFrameLowering FrameLowering;
PPCInstrInfo InstrInfo;
PPCTargetLowering TLInfo;
PPCSelectionDAGInfo TSInfo;
- const PPCTargetMachine &TM;
public:
/// This constructor initializes the data members to match that