From 058858851c35cad1ce55ced59dba56702f7e8d80 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 25 Jul 2019 09:54:12 +0000 Subject: [MC] Delete unused MCInstPrinter::markup overload and getPrintHexStyle llvm-svn: 367000 --- llvm/lib/MC/MCInstPrinter.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'llvm/lib/MC/MCInstPrinter.cpp') 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) -- cgit v1.2.3