зеркало из https://github.com/mozilla/pjs.git
Fixed bug
This commit is contained in:
Родитель
cc936727dd
Коммит
969ef01100
|
@ -212,15 +212,10 @@ namespace JavaScript {
|
|||
GenericHashEntry **bp = ht.buckets + h;
|
||||
Entry *e;
|
||||
|
||||
while ((e = static_cast<Entry *>(*bp)) != 0) {
|
||||
if (e->keyHash == kh && e->data == key) {
|
||||
entry = e;
|
||||
backpointer = bp;
|
||||
return;
|
||||
}
|
||||
while ((e = static_cast<Entry *>(*bp)) != 0 && !(e->keyHash == kh && e->data == key))
|
||||
bp = &e->next;
|
||||
}
|
||||
entry = 0;
|
||||
entry = e;
|
||||
backpointer = bp;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -212,15 +212,10 @@ namespace JavaScript {
|
|||
GenericHashEntry **bp = ht.buckets + h;
|
||||
Entry *e;
|
||||
|
||||
while ((e = static_cast<Entry *>(*bp)) != 0) {
|
||||
if (e->keyHash == kh && e->data == key) {
|
||||
entry = e;
|
||||
backpointer = bp;
|
||||
return;
|
||||
}
|
||||
while ((e = static_cast<Entry *>(*bp)) != 0 && !(e->keyHash == kh && e->data == key))
|
||||
bp = &e->next;
|
||||
}
|
||||
entry = 0;
|
||||
entry = e;
|
||||
backpointer = bp;
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче