From 1815383276d5068e4c1a336cefb0579953d05138 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 23 Jul 2003 14:55:59 +0000 Subject: [PATCH] Remove using decl git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7246 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp | 11 ++++------- .../SparcV9/InstrSelection/InstrSelectionSupport.cpp | 11 ++++------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp b/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp index ff214500dbc..6c1c860d2c6 100644 --- a/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp +++ b/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp @@ -16,10 +16,7 @@ #include "llvm/Constants.h" #include "llvm/BasicBlock.h" #include "llvm/DerivedTypes.h" -#include "../../Target/Sparc/SparcInstrSelectionSupport.h" -using std::vector; - -//*************************** Local Functions ******************************/ +#include "../../Target/Sparc/SparcInstrSelectionSupport.h" // FIXME! // Generate code to load the constant into a TmpInstruction (virtual reg) and @@ -29,7 +26,7 @@ static TmpInstruction* InsertCodeToLoadConstant(Function *F, Value* opValue, Instruction* vmInstr, - vector& loadConstVec, + std::vector& loadConstVec, TargetMachine& target) { // Create a tmp virtual register to hold the constant. @@ -143,12 +140,12 @@ ChooseRegOrImmed(Value* val, // fall under case 3; these must be inserted before `minstr'. //--------------------------------------------------------------------------- -vector +std::vector FixConstantOperandsForInstr(Instruction* vmInstr, MachineInstr* minstr, TargetMachine& target) { - vector MVec; + std::vector MVec; MachineOpCode opCode = minstr->getOpCode(); const TargetInstrInfo& instrInfo = target.getInstrInfo(); diff --git a/lib/Target/SparcV9/InstrSelection/InstrSelectionSupport.cpp b/lib/Target/SparcV9/InstrSelection/InstrSelectionSupport.cpp index ff214500dbc..6c1c860d2c6 100644 --- a/lib/Target/SparcV9/InstrSelection/InstrSelectionSupport.cpp +++ b/lib/Target/SparcV9/InstrSelection/InstrSelectionSupport.cpp @@ -16,10 +16,7 @@ #include "llvm/Constants.h" #include "llvm/BasicBlock.h" #include "llvm/DerivedTypes.h" -#include "../../Target/Sparc/SparcInstrSelectionSupport.h" -using std::vector; - -//*************************** Local Functions ******************************/ +#include "../../Target/Sparc/SparcInstrSelectionSupport.h" // FIXME! // Generate code to load the constant into a TmpInstruction (virtual reg) and @@ -29,7 +26,7 @@ static TmpInstruction* InsertCodeToLoadConstant(Function *F, Value* opValue, Instruction* vmInstr, - vector& loadConstVec, + std::vector& loadConstVec, TargetMachine& target) { // Create a tmp virtual register to hold the constant. @@ -143,12 +140,12 @@ ChooseRegOrImmed(Value* val, // fall under case 3; these must be inserted before `minstr'. //--------------------------------------------------------------------------- -vector +std::vector FixConstantOperandsForInstr(Instruction* vmInstr, MachineInstr* minstr, TargetMachine& target) { - vector MVec; + std::vector MVec; MachineOpCode opCode = minstr->getOpCode(); const TargetInstrInfo& instrInfo = target.getInstrInfo(); -- 2.34.1