From c759e5472e43d33b839560ba1b9a3af08adaa91a Mon Sep 17 00:00:00 2001 From: Gabor Horvath Date: Mon, 16 Mar 2015 10:19:53 +0000 Subject: [PATCH] Fix build failure on MSVC compilers. llvm-svn: 232368 --- llvm/lib/MC/MCDwarf.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp index e37cd55..3554715 100644 --- a/llvm/lib/MC/MCDwarf.cpp +++ b/llvm/lib/MC/MCDwarf.cpp @@ -243,9 +243,8 @@ std::pair MCDwarfLineTableHeader::Emit(MCStreamer *MCOS) 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); } -- 2.7.4