Index: Source/platform/heap/TraceTraits.h |
diff --git a/Source/platform/heap/TraceTraits.h b/Source/platform/heap/TraceTraits.h |
index a463dd925857759346f065bac41b2bc2d5fa755f..b6a1e51d44e8e1d3a8739cad608ce94e00575922 100644 |
--- a/Source/platform/heap/TraceTraits.h |
+++ b/Source/platform/heap/TraceTraits.h |
@@ -56,7 +56,7 @@ public: |
// enabled so as to avoid testing against a much lower & too low, |
// stack depth threshold. |
#if !defined(ADDRESS_SANITIZER) |
- ASSERT(StackFrameDepth::isSafeToRecurse()); |
+ ASSERT(StackFrameDepth::isSafeToRecurse() || !StackFrameDepth::isActive()); |
#endif |
if (LIKELY(StackFrameDepth::isSafeToRecurse())) { |
if (visitor->ensureMarked(t)) { |