mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-22 11:55:12 +00:00
remove dead code.
llvm-svn: 77233
This commit is contained in:
parent
a536302ed5
commit
4ff7e1300f
@ -46,8 +46,6 @@ namespace llvm {
|
||||
unsigned countString(const char *p) const;
|
||||
};
|
||||
|
||||
typedef ARMTargetAsmInfo<TargetAsmInfo> ARMGenericTargetAsmInfo;
|
||||
|
||||
EXTERN_TEMPLATE_INSTANTIATION(class ARMTargetAsmInfo<TargetAsmInfo>);
|
||||
|
||||
struct ARMDarwinTargetAsmInfo : public ARMTargetAsmInfo<DarwinTargetAsmInfo> {
|
||||
|
@ -76,12 +76,11 @@ ThumbTargetMachine::ThumbTargetMachine(const Target &T, const Module &M,
|
||||
|
||||
const TargetAsmInfo *ARMBaseTargetMachine::createTargetAsmInfo() const {
|
||||
switch (Subtarget.TargetType) {
|
||||
case ARMSubtarget::isDarwin:
|
||||
default: llvm_unreachable("Unknown ARM subtarget kind");
|
||||
case ARMSubtarget::isDarwin:
|
||||
return new ARMDarwinTargetAsmInfo(*this);
|
||||
case ARMSubtarget::isELF:
|
||||
case ARMSubtarget::isELF:
|
||||
return new ARMELFTargetAsmInfo(*this);
|
||||
default:
|
||||
return new ARMGenericTargetAsmInfo(*this);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user