diff options
author | Gabor Horvath <xazax.hun@gmail.com> | 2015-03-16 10:19:53 +0000 |
---|---|---|
committer | Gabor Horvath <xazax.hun@gmail.com> | 2015-03-16 10:19:53 +0000 |
commit | c759e5472e43d33b839560ba1b9a3af08adaa91a (patch) | |
tree | 403716dba543a37c1852860d20fcc77c8213bad1 /llvm/lib/MC/MCDwarf.cpp | |
parent | 98bd098205cbe3a3475d33bc50acba39ab76102f (diff) | |
download | bcm5719-llvm-c759e5472e43d33b839560ba1b9a3af08adaa91a.tar.gz bcm5719-llvm-c759e5472e43d33b839560ba1b9a3af08adaa91a.zip |
Fix build failure on MSVC compilers.
llvm-svn: 232368
Diffstat (limited to 'llvm/lib/MC/MCDwarf.cpp')
-rw-r--r-- | llvm/lib/MC/MCDwarf.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp index e37cd55ca75..3554715bee9 100644 --- a/llvm/lib/MC/MCDwarf.cpp +++ b/llvm/lib/MC/MCDwarf.cpp @@ -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); } |