[llvm-commits] CVS: llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Jul 23 09:57:01 PDT 2003


Changes in directory llvm/lib/CodeGen/InstrSelection:

InstrSelectionSupport.cpp updated: 1.52 -> 1.53

---
Log message:

Remove using decl


---
Diffs of the changes:

Index: llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp
diff -u llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp:1.52 llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp:1.53
--- llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp:1.52	Sun Jul  6 15:33:21 2003
+++ llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp	Wed Jul 23 09:55:59 2003
@@ -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 @@
 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 @@
 // 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();





More information about the llvm-commits mailing list