Index: src/compiler/node-cache.cc |
diff --git a/src/compiler/node-cache.cc b/src/compiler/node-cache.cc |
index 2049de526d23763debd5fda44062cbe8b743bb24..35d03cec9b4234ce8b341f90d0ce48c8dd431276 100644 |
--- a/src/compiler/node-cache.cc |
+++ b/src/compiler/node-cache.cc |
@@ -94,7 +94,7 @@ Node** NodeCache<Key, Hash, Pred>::Find(Zone* zone, Key key) { |
template <typename Key, typename Hash, typename Pred> |
void NodeCache<Key, Hash, Pred>::GetCachedNodes(NodeVector* nodes) { |
if (entries_) { |
- for (size_t i = 0; i < size_; i++) { |
+ for (size_t i = 0; i < size_ + kLinearProbe; i++) { |
if (entries_[i].value_ != NULL) nodes->push_back(entries_[i].value_); |
} |
} |