diff --git a/src/json-parser.h b/src/json-parser.h index 21c3623ef8..8eb4f67f22 100644 --- a/src/json-parser.h +++ b/src/json-parser.h @@ -590,10 +590,10 @@ Handle JsonParser::ScanJsonString() { seq_source_->GetChars() + position_, length); SymbolTable* symbol_table = isolate()->heap()->symbol_table(); uint32_t capacity = symbol_table->Capacity(); - uint32_t index = SymbolTable::FirstProbe(hash, capacity); + uint32_t entry = SymbolTable::FirstProbe(hash, capacity); uint32_t count = 1; while (true) { - Object* element = symbol_table->KeyAt(index); + Object* element = symbol_table->KeyAt(entry); if (element == isolate()->heap()->raw_unchecked_undefined_value()) { // Lookup failure. break; @@ -606,7 +606,7 @@ Handle JsonParser::ScanJsonString() { AdvanceSkipWhitespace(); return Handle(String::cast(element)); } - index = SymbolTable::NextProbe(hash, count++, capacity); + entry = SymbolTable::NextProbe(entry, count++, capacity); } }