OSDN Git Service

An 'unreachable' shouldn't have a '0 &&' prefix.
authorBill Wendling <isanbard@gmail.com>
Fri, 19 Nov 2010 00:05:15 +0000 (00:05 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 19 Nov 2010 00:05:15 +0000 (00:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119762 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMMCCodeEmitter.cpp

index 6592dcf..8cf31e7 100644 (file)
@@ -421,8 +421,8 @@ getMovtImmOpValue(const MCInst &MI, unsigned OpIdx,
     }
     Fixups.push_back(MCFixup::Create(0, Expr, Kind));
     return 0;
-  };
-  llvm_unreachable(0 && "Unsupported MCExpr type in MCOperand");
+  }
+  llvm_unreachable("Unsupported MCExpr type in MCOperand");
   return 0;
 }