summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCInstPrinter.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-07-25 09:54:12 +0000
committerFangrui Song <maskray@google.com>2019-07-25 09:54:12 +0000
commit058858851c35cad1ce55ced59dba56702f7e8d80 (patch)
treef19c05b81092dc6f65430f4239e29bf5ac6cf1c3 /llvm/lib/MC/MCInstPrinter.cpp
parent5354c83ece00690b4dbfa47925f8f5a8f33f1d9e (diff)
downloadbcm5719-llvm-058858851c35cad1ce55ced59dba56702f7e8d80.tar.gz
bcm5719-llvm-058858851c35cad1ce55ced59dba56702f7e8d80.zip
[MC] Delete unused MCInstPrinter::markup overload and getPrintHexStyle
llvm-svn: 367000
Diffstat (limited to 'llvm/lib/MC/MCInstPrinter.cpp')
-rw-r--r--llvm/lib/MC/MCInstPrinter.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/MC/MCInstPrinter.cpp b/llvm/lib/MC/MCInstPrinter.cpp
index 159f4070fe9..c462dea3c8c 100644
--- a/llvm/lib/MC/MCInstPrinter.cpp
+++ b/llvm/lib/MC/MCInstPrinter.cpp
@@ -64,12 +64,6 @@ StringRef MCInstPrinter::markup(StringRef s) const {
else
return "";
}
-StringRef MCInstPrinter::markup(StringRef a, StringRef b) const {
- if (getUseMarkup())
- return a;
- else
- return b;
-}
// For asm-style hex (e.g. 0ffh) the first digit always has to be a number.
static bool needsLeadingZero(uint64_t Value)
OpenPOWER on IntegriCloud