Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index e19f5861366bf3ec06e15b666e07f77740f990de..94a3fc0f3c9073c0fe6ebb479783e9bb8e7b8bd5 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -4158,13 +4158,13 @@ class V8EXPORT PersistentHandleVisitor { // NOLINT |
*/ |
class V8EXPORT AssertNoGCScope { |
#ifndef DEBUG |
- V8_INLINE(AssertNoGCScope(Isolate* isolate)) {} |
+ // TODO(yangguo): remove isolate argument. |
+ V8_INLINE(AssertNoGCScope(Isolate* isolate)) { } |
#else |
AssertNoGCScope(Isolate* isolate); |
~AssertNoGCScope(); |
private: |
- Isolate* isolate_; |
- bool last_state_; |
+ void* disallow_heap_allocation_; |
#endif |
}; |