[llvm] r238554 - [mips] Remove 2 unused variables in MipsTargetStreamer.cpp. NFC.

Toma Tabacu toma.tabacu at imgtec.com
Fri May 29 06:52:56 PDT 2015


Author: tomatabacu
Date: Fri May 29 08:52:56 2015
New Revision: 238554

URL: http://llvm.org/viewvc/llvm-project?rev=238554&view=rev
Log:
[mips] Remove 2 unused variables in MipsTargetStreamer.cpp. NFC.

Modified:
    llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp

Modified: llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp?rev=238554&r1=238553&r2=238554&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp Fri May 29 08:52:56 2015
@@ -358,7 +358,6 @@ void MipsTargetAsmStreamer::emitDirectiv
     MipsABIFlagsSection::FpABIKind Value, bool Is32BitABI) {
   MipsTargetStreamer::emitDirectiveModuleFP(Value, Is32BitABI);
 
-  StringRef ModuleValue;
   OS << "\t.module\tfp=";
   OS << ABIFlagsSection.getFpABIString(Value) << "\n";
 }
@@ -367,7 +366,6 @@ void MipsTargetAsmStreamer::emitDirectiv
     MipsABIFlagsSection::FpABIKind Value) {
   MipsTargetStreamer::emitDirectiveSetFp(Value);
 
-  StringRef ModuleValue;
   OS << "\t.set\tfp=";
   OS << ABIFlagsSection.getFpABIString(Value) << "\n";
 }





More information about the llvm-commits mailing list