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

Unified Diff: include/v8.h

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
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index e05bf8ee8c3ef21fbba1fa028dce73b1b24c90f2..e6508b7407603210ef654eed2173e19422d69515 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -470,9 +470,11 @@ class V8EXPORT HandleScope {
int extensions;
internal::Object** next;
internal::Object** limit;
- inline void Initialize() {
+ internal::Isolate* isolate;
+ inline void Initialize(internal::Isolate* i) {
Dmitry Titov 2010/09/29 22:14:47 Tiny nit, to consider, but I'm 50-50 on it myself:
Vitaly Repeshko 2010/10/01 17:16:49 When Data is used in an API HandleScope it can't b
extensions = -1;
next = limit = NULL;
+ isolate = i;
}
};
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698