From: Gabor Horvath Date: Mon, 16 Mar 2015 10:19:53 +0000 (+0000) Subject: Fix build failure on MSVC compilers. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=05dd2d90191c728903e1f244edca67bc9a942a59;p=oota-llvm.git Fix build failure on MSVC compilers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232368 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/MC/MCDwarf.cpp b/lib/MC/MCDwarf.cpp index e37cd55ca75..3554715bee9 100644 --- a/lib/MC/MCDwarf.cpp +++ b/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); }