[llvm] r232368 - Fix build failure on MSVC compilers.
Gabor Horvath
xazax.hun at gmail.com
Mon Mar 16 03:19:53 PDT 2015
Author: xazax
Date: Mon Mar 16 05:19:53 2015
New Revision: 232368
URL: http://llvm.org/viewvc/llvm-project?rev=232368&view=rev
Log:
Fix build failure on MSVC compilers.
Modified:
llvm/trunk/lib/MC/MCDwarf.cpp
Modified: llvm/trunk/lib/MC/MCDwarf.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCDwarf.cpp?rev=232368&r1=232367&r2=232368&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCDwarf.cpp (original)
+++ llvm/trunk/lib/MC/MCDwarf.cpp Mon Mar 16 05:19:53 2015
@@ -243,9 +243,8 @@ std::pair<MCSymbol *, MCSymbol *> MCDwar
0, // length of DW_LNS_set_epilogue_begin
1 // DW_LNS_set_isa
};
- static_assert(array_lengthof(StandardOpcodeLengths) ==
- (DWARF2_LINE_OPCODE_BASE - 1),
- "");
+ assert(array_lengthof(StandardOpcodeLengths) ==
+ (DWARF2_LINE_OPCODE_BASE - 1));
return Emit(MCOS, StandardOpcodeLengths);
}
More information about the llvm-commits
mailing list