From: Chris Lattner Date: Tue, 11 Aug 2009 22:52:15 +0000 (+0000) Subject: second half of commit. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=09652df5fc19b088d8baf43dd7839d9c2fc24980;p=oota-llvm.git second half of commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78744 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp index d08c81957b3..07667117a04 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,