summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetMachine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
index d08c81957b3..07667117a04 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/llvm/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,
OpenPOWER on IntegriCloud