projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fc0a8d
)
Fix build failure on MSVC compilers.
author
Gabor Horvath
<xazax.hun@gmail.com>
Mon, 16 Mar 2015 10:19:53 +0000
(10:19 +0000)
committer
Gabor 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
patch
|
blob
|
history
diff --git
a/lib/MC/MCDwarf.cpp
b/lib/MC/MCDwarf.cpp
index e37cd55ca75d5f2a634379b6ed1906246a7af9fc..3554715bee996cde7e7105d4eeee233483e92f35 100644
(file)
--- a/
lib/MC/MCDwarf.cpp
+++ b/
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);
}