summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-11 22:52:15 +0000
committerChris Lattner <sabre@nondot.org>2009-08-11 22:52:15 +0000
commit97868fe1b94e17a2ec6a17918adf3053c7021e8b (patch)
tree042e8737d3fa0682580024374d4e6dd75e56dc0a /llvm/lib/Target/PowerPC
parent63d5be8a7b9219734102e35695430a5357bb24de (diff)
downloadbcm5719-llvm-97868fe1b94e17a2ec6a17918adf3053c7021e8b.tar.gz
bcm5719-llvm-97868fe1b94e17a2ec6a17918adf3053c7021e8b.zip
second half of commit.
llvm-svn: 78744
Diffstat (limited to 'llvm/lib/Target/PowerPC')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetMachine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
index d08c81957b3..07667117a04 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
@@ -28,8 +28,8 @@ extern "C" void LLVMInitializePowerPCTarget() {
const TargetAsmInfo *PPCTargetMachine::createTargetAsmInfo() const {
if (Subtarget.isDarwin())
- return new PPCDarwinTargetAsmInfo(*this);
- return new PPCLinuxTargetAsmInfo(*this);
+ return new PPCDarwinTargetAsmInfo(Subtarget.isPPC64());
+ return new PPCLinuxTargetAsmInfo(Subtarget.isPPC64());
}
PPCTargetMachine::PPCTargetMachine(const Target &T, const std::string &TT,
OpenPOWER on IntegriCloud