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

Unified Diff: include/v8.h

Issue 4100005: Version 2.5.2 (Closed)
Patch Set: Created 10 years, 2 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 | « SConstruct ('k') | src/accessors.h » ('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 ef9a41168cb5c39cca83c3c4af3314252a111db6..89502cb9156af939b6fbc45a18a10a0cab94d313 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -467,16 +467,21 @@ class V8EXPORT HandleScope {
// typedef in the ImplementationUtilities class.
class V8EXPORT Data {
public:
- int extensions;
internal::Object** next;
internal::Object** limit;
+ int level;
+
inline void Initialize() {
- extensions = -1;
next = limit = NULL;
+ level = 0;
}
};
+
+ void Leave();
- Data previous_;
+
+ internal::Object** prev_next_;
+ internal::Object** prev_limit_;
// Allow for the active closing of HandleScopes which allows to pass a handle
// from the HandleScope being closed to the next top most HandleScope.
« no previous file with comments | « SConstruct ('k') | src/accessors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698