diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-08-11 22:52:15 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-08-11 22:52:15 +0000 |
| commit | c8d1463da1e1011ea0687df02a99c5b6445eb65c (patch) | |
| tree | bf335e7f9c980f63b5a8d086edfdb129e0706428 /lib/Target/PowerPC/PPCTargetMachine.cpp | |
| parent | 40e29d74c65245c19c0e87594441c406b88f7590 (diff) | |
| download | external_llvm-c8d1463da1e1011ea0687df02a99c5b6445eb65c.zip external_llvm-c8d1463da1e1011ea0687df02a99c5b6445eb65c.tar.gz external_llvm-c8d1463da1e1011ea0687df02a99c5b6445eb65c.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/PowerPC/PPCTargetMachine.cpp')
| -rw-r--r-- | lib/Target/PowerPC/PPCTargetMachine.cpp | 4 |
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, |
