aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
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
commit09652df5fc19b088d8baf43dd7839d9c2fc24980 (patch)
treebf335e7f9c980f63b5a8d086edfdb129e0706428 /lib/Target
parent5b67bb1922386615936b2647b5681f6430746ac1 (diff)
downloadexternal_llvm-09652df5fc19b088d8baf43dd7839d9c2fc24980.zip
external_llvm-09652df5fc19b088d8baf43dd7839d9c2fc24980.tar.gz
external_llvm-09652df5fc19b088d8baf43dd7839d9c2fc24980.tar.bz2
second half of commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78744 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/PowerPC/PPCTargetMachine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp
index d08c819..0766711 100644
--- a/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/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,