summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-15 23:56:03 +0000
committerChris Lattner <sabre@nondot.org>2010-01-15 23:56:03 +0000
commit8b96af56658c3e3b8bd8aaca54b6727d9c6fcd0d (patch)
tree6dc92e4f1bd72d13c5124c34f5a40bafa48265ad /llvm/lib
parentae9b9eed18a84d777165bd97326845d7407b4422 (diff)
downloadbcm5719-llvm-8b96af56658c3e3b8bd8aaca54b6727d9c6fcd0d.tar.gz
bcm5719-llvm-8b96af56658c3e3b8bd8aaca54b6727d9c6fcd0d.zip
remove two write-only sets.
llvm-svn: 93590
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp b/llvm/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp
index 6981fef3446..d024f8a93dc 100644
--- a/llvm/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp
+++ b/llvm/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp
@@ -41,7 +41,6 @@
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/Mangler.h"
#include "llvm/Support/MathExtras.h"
-#include <set>
using namespace llvm;
namespace {
@@ -50,7 +49,6 @@ namespace {
const std::string bss_section(".bss");
class SPUAsmPrinter : public AsmPrinter {
- std::set<std::string> FnStubs, GVStubs;
public:
explicit SPUAsmPrinter(formatted_raw_ostream &O, TargetMachine &TM,
const MCAsmInfo *T, bool V) :
@@ -332,7 +330,6 @@ void SPUAsmPrinter::printOp(const MachineOperand &MO) {
// Computing the address of an external symbol, not calling it.
if (TM.getRelocationModel() != Reloc::Static) {
std::string Name(MAI->getGlobalPrefix()); Name += MO.getSymbolName();
- GVStubs.insert(Name);
O << "L" << Name << "$non_lazy_ptr";
return;
}
@@ -348,7 +345,6 @@ void SPUAsmPrinter::printOp(const MachineOperand &MO) {
if (TM.getRelocationModel() != Reloc::Static) {
if (((GV->isDeclaration() || GV->hasWeakLinkage() ||
GV->hasLinkOnceLinkage() || GV->hasCommonLinkage()))) {
- GVStubs.insert(Name);
O << "L" << Name << "$non_lazy_ptr";
return;
}
OpenPOWER on IntegriCloud