Chromium Code Reviews| Index: runtime/vm/hash_map.h |
| diff --git a/runtime/vm/hash_map.h b/runtime/vm/hash_map.h |
| index c9eb941c9a13bcb1bcc26326c57bb6ea4fc7907f..8e83fa535058737f4d22c867ba8e2121be9da010 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_ && |
|
zra
2017/03/03 18:03:54
Please put parens around the < and == clauses.
|
| + KeyValueTrait::ValueOf(map_.array_[array_index_].kv) == kNoValue) { |
| array_index_++; |
| } |
| if (array_index_ < map_.array_size_) { |