diff --git a/include/llvm/Target/TargetRegInfo.h b/include/llvm/Target/TargetRegInfo.h index 33bcf15e58f..7ec5ee26b0c 100644 --- a/include/llvm/Target/TargetRegInfo.h +++ b/include/llvm/Target/TargetRegInfo.h @@ -220,8 +220,8 @@ public: // an architecture. This must insert code for saving and restoring // such registers on // - virtual void insertCallerSavingCode(vector& instrnsBefore, - vector& instrnsAfter, + virtual void insertCallerSavingCode(std::vector& instrnsBefore, + std::vector& instrnsAfter, MachineInstr *MInst, const BasicBlock *BB, PhyRegAlloc &PRA) const = 0; diff --git a/lib/Target/SparcV9/SparcV9Internals.h b/lib/Target/SparcV9/SparcV9Internals.h index c5047f96a57..92c938ece0b 100644 --- a/lib/Target/SparcV9/SparcV9Internals.h +++ b/lib/Target/SparcV9/SparcV9Internals.h @@ -485,8 +485,8 @@ public: // This method inserts the caller saving code for call instructions // - void insertCallerSavingCode(vector& instrnsBefore, - vector& instrnsAfter, + void insertCallerSavingCode(std::vector& instrnsBefore, + std::vector& instrnsAfter, MachineInstr *MInst, const BasicBlock *BB, PhyRegAlloc &PRA ) const; };