[llvm-commits] [llvm] r119762 - /llvm/trunk/lib/Target/ARM/ARMMCCodeEmitter.cpp
Bill Wendling
isanbard at gmail.com
Thu Nov 18 16:05:15 PST 2010
Author: void
Date: Thu Nov 18 18:05:15 2010
New Revision: 119762
URL: http://llvm.org/viewvc/llvm-project?rev=119762&view=rev
Log:
An 'unreachable' shouldn't have a '0 &&' prefix.
Modified:
llvm/trunk/lib/Target/ARM/ARMMCCodeEmitter.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMMCCodeEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMMCCodeEmitter.cpp?rev=119762&r1=119761&r2=119762&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMMCCodeEmitter.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMMCCodeEmitter.cpp Thu Nov 18 18:05:15 2010
@@ -421,8 +421,8 @@
}
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;
}
More information about the llvm-commits
mailing list