Index: Source/platform/heap/StackFrameDepth.h |
diff --git a/Source/platform/heap/StackFrameDepth.h b/Source/platform/heap/StackFrameDepth.h |
index b4571f43536dc61b104c0041b37a32c93158dc63..2438186fd66a07ff9b30c76c37d35c2bfae32a81 100644 |
--- a/Source/platform/heap/StackFrameDepth.h |
+++ b/Source/platform/heap/StackFrameDepth.h |
@@ -50,6 +50,10 @@ private: |
// considered safe and allowed. |
static const int kSafeStackFrameSize = 32 * 1024; |
+ // Do not call functions recursively if remained stack memory is less |
+ // than this value. |
+ static const int kStackRoomSize; |
+ |
uintptr_t m_stackFrameLimit; |
}; |