Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index e19f5861366bf3ec06e15b666e07f77740f990de..a854d1b259e63c6166e0cddbb888f9c08d537ca9 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -4158,12 +4158,12 @@ 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_; |
#endif |
}; |