Index: src/assert-scope.h |
diff --git a/src/assert-scope.h b/src/assert-scope.h |
index fde49f84066d631391682aaf49cf46a00382836a..82f02ba2623a874e90bf7675fb625fd7ad8c1f57 100644 |
--- a/src/assert-scope.h |
+++ b/src/assert-scope.h |
@@ -42,6 +42,8 @@ class PerThreadAssertScope { |
V8_EXPORT_PRIVATE static bool IsAllowed(); |
+ void Release(); |
+ |
private: |
PerThreadAssertData* data_; |
bool old_state_; |
@@ -76,6 +78,7 @@ class PerThreadAssertScopeDebugOnly : public |
class PerThreadAssertScopeDebugOnly { |
public: |
PerThreadAssertScopeDebugOnly() { } |
+ void Release() {} |
#endif |
}; |