mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 576363 - Qualify accesses to dependent base in js. r=nnethercote.
--HG-- extra : convert_revision : 5c5cacef53d6a42f6226636c0fa71c13e428b52f
This commit is contained in:
parent
c46ef62c01
commit
c7b36cb9f6
@ -1581,10 +1581,10 @@ namespace nanojit
|
||||
CountMap(Allocator& alloc) : HashMap<Key, int>(alloc) {}
|
||||
int add(Key k) {
|
||||
int c = 1;
|
||||
if (containsKey(k)) {
|
||||
c = 1+get(k);
|
||||
if (this->containsKey(k)) {
|
||||
c = 1+this->get(k);
|
||||
}
|
||||
put(k,c);
|
||||
this->put(k,c);
|
||||
return c;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user