v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 464 | skipping to change at line 464 | |||
// scopes by disallowing certain operations. | // scopes by disallowing certain operations. | |||
HandleScope(const HandleScope&); | HandleScope(const HandleScope&); | |||
void operator=(const HandleScope&); | void operator=(const HandleScope&); | |||
void* operator new(size_t size); | void* operator new(size_t size); | |||
void operator delete(void*, size_t); | void operator delete(void*, size_t); | |||
// This Data class is accessible internally as HandleScopeData through a | // This Data class is accessible internally as HandleScopeData through a | |||
// typedef in the ImplementationUtilities class. | // typedef in the ImplementationUtilities class. | |||
class V8EXPORT Data { | class V8EXPORT Data { | |||
public: | public: | |||
int extensions; | ||||
internal::Object** next; | internal::Object** next; | |||
internal::Object** limit; | internal::Object** limit; | |||
int level; | ||||
inline void Initialize() { | inline void Initialize() { | |||
extensions = -1; | ||||
next = limit = NULL; | next = limit = NULL; | |||
level = 0; | ||||
} | } | |||
}; | }; | |||
Data previous_; | void Leave(); | |||
internal::Object** prev_next_; | ||||
internal::Object** prev_limit_; | ||||
// Allow for the active closing of HandleScopes which allows to pass a ha ndle | // Allow for the active closing of HandleScopes which allows to pass a ha ndle | |||
// from the HandleScope being closed to the next top most HandleScope. | // from the HandleScope being closed to the next top most HandleScope. | |||
bool is_closed_; | bool is_closed_; | |||
internal::Object** RawClose(internal::Object** value); | internal::Object** RawClose(internal::Object** value); | |||
friend class ImplementationUtilities; | friend class ImplementationUtilities; | |||
}; | }; | |||
// --- S p e c i a l o b j e c t s --- | // --- S p e c i a l o b j e c t s --- | |||
End of changes. 5 change blocks. | ||||
3 lines changed or deleted | 7 lines changed or added | |||