diff options
author | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-06-25 20:55:50 +0000 |
---|---|---|
committer | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-06-25 20:55:50 +0000 |
commit | cfb22d3c14b53bc73ec90f7d471c2d2d2453cf03 (patch) | |
tree | 980ad03dfdb10c7b53aae6a92b1b0285e30e01a5 /lib/CodeGen/InstrSelection/InstrSelection.cpp | |
parent | eea60fc59c0b231bbf9d5ab43c447f936f4012df (diff) |
changes to make it compatible with 64bit gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2791 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/InstrSelection/InstrSelection.cpp')
-rw-r--r-- | lib/CodeGen/InstrSelection/InstrSelection.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/InstrSelection/InstrSelection.cpp b/lib/CodeGen/InstrSelection/InstrSelection.cpp index b27f9022bb..c43f8ddf84 100644 --- a/lib/CodeGen/InstrSelection/InstrSelection.cpp +++ b/lib/CodeGen/InstrSelection/InstrSelection.cpp @@ -27,6 +27,7 @@ #include "Support/CommandLine.h" #include <iostream> using std::cerr; +using std::vector; //******************** Internal Data Declarations ************************/ @@ -152,7 +153,7 @@ SelectInstructionsForMethod(Function *F, TargetMachine &target) //------------------------------------------------------------------------- void -InsertPhiElimInstructions(BasicBlock *BB, const vector<MachineInstr*>& CpVec) +InsertPhiElimInstructions(BasicBlock *BB, const std::vector<MachineInstr*>& CpVec) { Instruction *TermInst = (Instruction*)BB->getTerminator(); MachineCodeForInstruction &MC4Term =MachineCodeForInstruction::get(TermInst); @@ -294,7 +295,7 @@ SelectInstructionsForTree(InstrTreeNode* treeRoot, int goalnt, // if (treeRoot->opLabel != VRegListOp) { - vector<MachineInstr*> minstrVec; + std::vector<MachineInstr*> minstrVec; InstructionNode* instrNode = (InstructionNode*)treeRoot; assert(instrNode->getNodeType() == InstrTreeNode::NTInstructionNode); |