diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-11 14:51:07 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-11 14:51:07 +0000 |
commit | 88b6fc06db667bd26d6ef661597affaa6abfdd0d (patch) | |
tree | f2ba50b2aecb2154041d66d5107546975fff551c /lib/Target/MBlaze | |
parent | 953362cdfbf1088153f65376c86d22ee0176bcdf (diff) | |
download | external_llvm-88b6fc06db667bd26d6ef661597affaa6abfdd0d.zip external_llvm-88b6fc06db667bd26d6ef661597affaa6abfdd0d.tar.gz external_llvm-88b6fc06db667bd26d6ef661597affaa6abfdd0d.tar.bz2 |
Make the EDis tables const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150304 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MBlaze')
-rw-r--r-- | lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp | 2 | ||||
-rw-r--r-- | lib/Target/MBlaze/Disassembler/MBlazeDisassembler.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp b/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp index 269219a..93563f6 100644 --- a/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp +++ b/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp @@ -492,7 +492,7 @@ static unsigned getOPCODE(uint32_t insn) { } } -EDInstInfo *MBlazeDisassembler::getEDInfo() const { +const EDInstInfo *MBlazeDisassembler::getEDInfo() const { return instInfoMBlaze; } diff --git a/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.h b/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.h index 5aec8bc..a951e35 100644 --- a/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.h +++ b/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.h @@ -46,7 +46,7 @@ public: raw_ostream &cStream) const; /// getEDInfo - See MCDisassembler. - EDInstInfo *getEDInfo() const; + const EDInstInfo *getEDInfo() const; }; } // namespace llvm |