diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-06 20:37:06 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-06 20:37:06 +0000 |
commit | 20baffb257b60e686024d4cfc1fceca836899d4b (patch) | |
tree | 690611bb49097f485decb976e31ef9814c6c13a5 /llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp | |
parent | e3b94d1b55a759010539051913a17b7970ee1ce6 (diff) | |
download | bcm5719-llvm-20baffb257b60e686024d4cfc1fceca836899d4b.tar.gz bcm5719-llvm-20baffb257b60e686024d4cfc1fceca836899d4b.zip |
Replace (Lower|Upper)caseString in favor of StringRef's newest methods.
llvm-svn: 143891
Diffstat (limited to 'llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp b/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp index 3dafc613448..53282ab9b52 100644 --- a/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp +++ b/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp @@ -17,7 +17,6 @@ #include "llvm/MC/MCInst.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/raw_ostream.h" -#include "llvm/ADT/StringExtras.h" using namespace llvm; #define GET_INSTRUCTION_NAME @@ -66,7 +65,7 @@ StringRef MipsInstPrinter::getOpcodeName(unsigned Opcode) const { } void MipsInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const { - OS << '$' << LowercaseString(getRegisterName(RegNo)); + OS << '$' << StringRef(getRegisterName(RegNo)).lower(); } void MipsInstPrinter::printInst(const MCInst *MI, raw_ostream &O, |