aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCTargetMachine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r--lib/Target/PowerPC/PPCTargetMachine.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp
index 8e640899bc..009f4ebe63 100644
--- a/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/lib/Target/PowerPC/PPCTargetMachine.cpp
@@ -138,12 +138,10 @@ bool PowerPCTargetMachine::addPassesToEmitFile(PassManager &PM,
// Decide which asm printer to use. If the user has not specified one on
// the command line, choose whichever one matches the default (current host).
switch (PPCTarget) {
- case TargetDefault:
- assert(0 && "Default host has no asm printer!");
- break;
case TargetAIX:
PM.add(createAIXAsmPrinter(Out, *this));
break;
+ case TargetDefault:
case TargetDarwin:
PM.add(createDarwinAsmPrinter(Out, *this));
break;