summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp
diff options
context:
space:
mode:
authorAnand Shukla <ashukla@cs.uiuc.edu>2002-06-25 20:55:50 +0000
committerAnand Shukla <ashukla@cs.uiuc.edu>2002-06-25 20:55:50 +0000
commit458496c0603f922301898409417b717476cfbf10 (patch)
treedf48267e6feafa3ea4ba9416c5c373f91ac1b6ff /llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp
parenteaa2e7204e85b056751d26773ad636cffbfceacd (diff)
downloadbcm5719-llvm-458496c0603f922301898409417b717476cfbf10.tar.gz
bcm5719-llvm-458496c0603f922301898409417b717476cfbf10.zip
changes to make it compatible with 64bit gcc
llvm-svn: 2791
Diffstat (limited to 'llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp')
-rw-r--r--llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp b/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp
index b27f9022bba..c43f8ddf84e 100644
--- a/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud