mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
Add typenames
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3092 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
601d715959
commit
f8820c353b
@ -182,13 +182,13 @@ public:
|
||||
// the parent pointer can be used to find the root of the tree.
|
||||
//
|
||||
inline InstTreeNode<Payload> *getInstNode(Instruction *Inst) {
|
||||
std::map<Instruction*, InstTreeNode<Payload> *>::iterator I =
|
||||
typename std::map<Instruction*, InstTreeNode<Payload> *>::iterator I =
|
||||
InstMap.find(Inst);
|
||||
if (I != InstMap.end()) return I->second;
|
||||
return 0;
|
||||
}
|
||||
inline const InstTreeNode<Payload> *getInstNode(const Instruction *Inst)const{
|
||||
std::map<Instruction*, InstTreeNode<Payload>*>::const_iterator I =
|
||||
typename std::map<Instruction*, InstTreeNode<Payload>*>::const_iterator I =
|
||||
InstMap.find(Inst);
|
||||
if (I != InstMap.end()) return I->second;
|
||||
return 0;
|
||||
@ -196,7 +196,7 @@ public:
|
||||
|
||||
// print - Called by operator<< below...
|
||||
void print(std::ostream &out) const {
|
||||
for (const_iterator I = begin(), E = end(); I != E; ++I)
|
||||
for (typename const_iterator I = begin(), E = end(); I != E; ++I)
|
||||
out << *I;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user