Index: src/handles.h |
diff --git a/src/handles.h b/src/handles.h |
index 573298a925aed4d13bb1f7f6343193d4834a421f..e08a775d55c5e21d005eec9b84ef8671c5dd3d02 100644 |
--- a/src/handles.h |
+++ b/src/handles.h |
@@ -85,7 +85,9 @@ class Handle { |
inline Handle<T> EscapeFrom(v8::HandleScope* scope); |
#ifdef DEBUG |
- bool IsDereferenceAllowed(bool explicitly_allow_deferred) const; |
+ enum DereferenceCheckMode { INCLUDE_DEFERRED_CHECK, NO_DEFERRED_CHECK }; |
+ |
+ bool IsDereferenceAllowed(DereferenceCheckMode mode) const; |
#endif // DEBUG |
private: |