File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
llvm/lib/Target/AArch64/MCTargetDesc Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -163,9 +163,6 @@ class AArch64TargetAsmStreamer : public AArch64TargetStreamer {
163163 unsigned VendorID = AArch64BuildAttrs::getVendorID (VendorName);
164164
165165 switch (VendorID) {
166- default :
167- assert (0 && " Subsection name error" );
168- break ;
169166 case AArch64BuildAttrs::VENDOR_UNKNOWN:
170167 if (unsigned (-1 ) != Value) {
171168 OS << " \t .aeabi_attribute" << " \t " << Tag << " , " << Value;
@@ -235,8 +232,8 @@ class AArch64TargetAsmStreamer : public AArch64TargetStreamer {
235232 StringRef ParameterStr = getTypeStr (ParameterType);
236233
237234 switch (SubsectionID) {
238- default : {
239- // Treated as a private subsection
235+ case AArch64BuildAttrs::VENDOR_UNKNOWN : {
236+ // Private subsection
240237 break ;
241238 }
242239 case AArch64BuildAttrs::AEABI_PAUTHABI: {
You can’t perform that action at this time.
0 commit comments