| Index: runtime/vm/hash_map.h
|
| diff --git a/runtime/vm/hash_map.h b/runtime/vm/hash_map.h
|
| index c9eb941c9a13bcb1bcc26326c57bb6ea4fc7907f..ff473013f4d643cd115d200dcf0a25fb716b1ce1 100644
|
| --- a/runtime/vm/hash_map.h
|
| +++ b/runtime/vm/hash_map.h
|
| @@ -175,8 +175,8 @@ BaseDirectChainedHashMap<KeyValueTrait, B, Allocator>::Iterator::Next() {
|
| if (array_index_ < map_.array_size_) {
|
| // If we're not in the middle of a list, find the next array slot.
|
| if (list_index_ == kNil) {
|
| - while (KeyValueTrait::ValueOf(map_.array_[array_index_].kv) == kNoValue &&
|
| - array_index_ < map_.array_size_) {
|
| + while ((array_index_ < map_.array_size_) &&
|
| + KeyValueTrait::ValueOf(map_.array_[array_index_].kv) == kNoValue) {
|
| array_index_++;
|
| }
|
| if (array_index_ < map_.array_size_) {
|
|
|