aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCISelLowering.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-31 17:42:42 +0000
committerChris Lattner <sabre@nondot.org>2009-07-31 17:42:42 +0000
commit013162700841c12357dc27f2a4a268c967c3eb50 (patch)
tree2c109dc8f8764abb040f71fe14215b9116d11922 /lib/Target/PowerPC/PPCISelLowering.cpp
parent4f720fae677b937ace6ffd2bdbfb670ddbadc663 (diff)
downloadexternal_llvm-013162700841c12357dc27f2a4a268c967c3eb50.zip
external_llvm-013162700841c12357dc27f2a4a268c967c3eb50.tar.gz
external_llvm-013162700841c12357dc27f2a4a268c967c3eb50.tar.bz2
refactor section construction in TLOF to be through an explicit
initialize method, which can be called when an MCContext is available. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCISelLowering.cpp')
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp
index bfe0f6f..9b0dd1f 100644
--- a/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -59,7 +59,7 @@ cl::desc("enable preincrement load/store generation on PPC (experimental)"),
static TargetLoweringObjectFile *CreateTLOF(const PPCTargetMachine &TM) {
if (TM.getSubtargetImpl()->isDarwin())
- return new TargetLoweringObjectFileMachO(TM);
+ return new TargetLoweringObjectFileMachO();
return new TargetLoweringObjectFileELF(false, true);
}