Fix build failure on MSVC compilers.
authorGabor Horvath <xazax.hun@gmail.com>
Mon, 16 Mar 2015 10:19:53 +0000 (10:19 +0000)
committerGabor Horvath <xazax.hun@gmail.com>
Mon, 16 Mar 2015 10:19:53 +0000 (10:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232368 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCDwarf.cpp

index e37cd55ca75d5f2a634379b6ed1906246a7af9fc..3554715bee996cde7e7105d4eeee233483e92f35 100644 (file)
@@ -243,9 +243,8 @@ std::pair<MCSymbol *, MCSymbol *> 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);
 }