second half of commit.
authorChris Lattner <sabre@nondot.org>
Tue, 11 Aug 2009 22:52:15 +0000 (22:52 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 11 Aug 2009 22:52:15 +0000 (22:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78744 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCTargetMachine.cpp

index d08c81957b37ca862483940a93e58fa440a640cb..07667117a045a02779719c6e2b2274d11fdd51c2 100644 (file)
@@ -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,