aboutsummaryrefslogtreecommitdiff
path: root/lib/MC/MCInstrDesc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MC/MCInstrDesc.cpp')
-rw-r--r--lib/MC/MCInstrDesc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCInstrDesc.cpp b/lib/MC/MCInstrDesc.cpp
index decc2d84b252..5be2fa1b30b6 100644
--- a/lib/MC/MCInstrDesc.cpp
+++ b/lib/MC/MCInstrDesc.cpp
@@ -19,7 +19,7 @@
using namespace llvm;
-bool MCInstrDesc::getDeprecatedInfo(MCInst &MI, MCSubtargetInfo &STI,
+bool MCInstrDesc::getDeprecatedInfo(MCInst &MI, const MCSubtargetInfo &STI,
std::string &Info) const {
if (ComplexDeprecationInfo)
return ComplexDeprecationInfo(MI, STI, Info);