diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-07-15 12:50:21 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-07-15 12:50:21 +0000 |
commit | 20722b6cda6a8857a00e84133c8d8516400aca4d (patch) | |
tree | d051ca5f64f7d265572ca21fd30f19ca738b8795 /lib/Target/MBlaze/Disassembler | |
parent | a4a1671d8148f76cb48857a8619ef0ebfd90e6ea (diff) |
Eliminate "const" from extern const to fix breakeage since r135184 on msvc.
MSVC decorates (and distinguishes) "const" in mangler. It brought linkage error between "extern const" declarations and definitions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135269 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MBlaze/Disassembler')
-rw-r--r-- | lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp b/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp index 0157b4eb03..88d80a12eb 100644 --- a/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp +++ b/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp @@ -30,7 +30,7 @@ #include "MBlazeGenEDInfo.inc" namespace llvm { -extern const MCInstrDesc MBlazeInsts[]; +extern MCInstrDesc MBlazeInsts[]; } using namespace llvm; |