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. |