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

Unified Diff: src/isolate.cc

Issue 3545004: [Isolates] Avoid isolate lookup in HandleScope destructor. (Closed)
Patch Set: Created 10 years, 3 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/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index e259b1999443aed963d60e95b3608bd4368bec6d..1113a9138247ad71e0c57a43ec444cbc73b622a6 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -375,7 +375,7 @@ Isolate::Isolate()
producer_heap_profile_ = NULL;
#endif
- handle_scope_data_.Initialize();
+ handle_scope_data_.Initialize(this);
#define ISOLATE_INIT_EXECUTE(type, name, initial_value) \
name##_ = (initial_value);
« include/v8.h ('K') | « src/handles-inl.h ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698