diff options
author | Chris Lattner <sabre@nondot.org> | 2003-07-23 14:55:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-07-23 14:55:59 +0000 |
commit | 0470412961037639e561b4938919cfc85936380a (patch) | |
tree | 89937cd1b346a811af81a77504b600904cd531fb /llvm/lib | |
parent | c5372125b9f928e6cbd983f7eb06d704619a757e (diff) | |
download | bcm5719-llvm-0470412961037639e561b4938919cfc85936380a.tar.gz bcm5719-llvm-0470412961037639e561b4938919cfc85936380a.zip |
Remove using decl
llvm-svn: 7246
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp b/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp index ff214500dbc..6c1c860d2c6 100644 --- a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp +++ b/llvm/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<MachineInstr*>& loadConstVec, + std::vector<MachineInstr*>& 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<MachineInstr*> +std::vector<MachineInstr*> FixConstantOperandsForInstr(Instruction* vmInstr, MachineInstr* minstr, TargetMachine& target) { - vector<MachineInstr*> MVec; + std::vector<MachineInstr*> MVec; MachineOpCode opCode = minstr->getOpCode(); const TargetInstrInfo& instrInfo = target.getInstrInfo(); |