mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3065 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -255,7 +255,7 @@ struct ValueMap {
|
||||
map<ConstHashKey, ConstantClass *> Map;
|
||||
|
||||
inline ConstantClass *get(const Type *Ty, ValType V) {
|
||||
map<ConstHashKey,ConstantClass *>::iterator I =
|
||||
typename map<ConstHashKey,ConstantClass *>::iterator I =
|
||||
Map.find(ConstHashKey(Ty, V));
|
||||
return (I != Map.end()) ? I->second : 0;
|
||||
}
|
||||
@ -265,7 +265,7 @@ struct ValueMap {
|
||||
}
|
||||
|
||||
inline void remove(ConstantClass *CP) {
|
||||
for (map<ConstHashKey,ConstantClass *>::iterator I = Map.begin(),
|
||||
for (typename map<ConstHashKey,ConstantClass *>::iterator I = Map.begin(),
|
||||
E = Map.end(); I != E;++I)
|
||||
if (I->second == CP) {
|
||||
Map.erase(I);
|
||||
|
Reference in New Issue
Block a user