Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Unified Diff: src/global-handles.cc

Issue 2784123003: [NOT FOR LANDING] Patch for experiments: V8
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/global-handles.cc
diff --git a/src/global-handles.cc b/src/global-handles.cc
index ff7f132305cd73a4098608a432a10d13612a83e2..ee69283218dae333894bde8a61d4cdf6e417c510 100644
--- a/src/global-handles.cc
+++ b/src/global-handles.cc
@@ -499,6 +499,7 @@ class GlobalHandles::NodeIterator {
void Advance() {
DCHECK(!done());
+ __builtin_prefetch(block_->next_used());
if (++index_ < NodeBlock::kSize) return;
index_ = 0;
block_ = block_->next_used();

Powered by Google App Engine
This is Rietveld 408576698