Bug 576363 - Qualify accesses to dependent base in js. r=nnethercote.

--HG--
extra : convert_revision : 5c5cacef53d6a42f6226636c0fa71c13e428b52f
This commit is contained in:
Eli Friedman 2010-07-04 19:12:15 -07:00
Родитель 61bc026152
Коммит 90226a86a3
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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;
}
};