llvm.org GIT mirror llvm / 5cb5e7e
This code is from r216285, which did not go out to the mailing list for some reason. The switch statement would never fire due to the preceding break statement. Also, the switch statement has a default label with no case labels. Simplified the code, and allow it to execute. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216346 91177308-0d34-0410-b5e6-96231b3b80d8 Aaron Ballman 6 years ago
1 changed file(s) with 1 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
10351035 break;
10361036 case MachO::CPU_SUBTYPE_X86_64_H:
10371037 outs() << " Haswell";
1038 break;
1039 switch (cpusubtype & ~MachO::CPU_SUBTYPE_MASK) {
1040 default:
1041 outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
1042 break;
1043 }
1038 outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
10441039 break;
10451040 case MachO::CPU_TYPE_ARM:
10461041 outs() << " ARM";