From c8d1463da1e1011ea0687df02a99c5b6445eb65c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 11 Aug 2009 22:52:15 +0000 Subject: second half of commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78744 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCTargetMachine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Target/PowerPC/PPCTargetMachine.cpp') 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, -- cgit v1.1