Index: src/execution.h |
diff --git a/src/execution.h b/src/execution.h |
index 551682c2eb65637864e751e555c6a5df98c9565e..d783e5c28b80b7fa34dbf989418665ecd5fe9550 100644 |
--- a/src/execution.h |
+++ b/src/execution.h |
@@ -136,6 +136,11 @@ class StackGuard final { |
// is assumed to grow downwards. |
void SetStackLimit(uintptr_t limit); |
+ // The simulator uses a separate JS stack. Limits on the JS stack might have |
+ // to be adjusted in order to reflect overflows of the C stack, because we |
+ // cannot rely on the interleaving of frames on the simulator. |
+ void AdjustStackLimitForSimulator(); |
+ |
// Threading support. |
char* ArchiveStackGuard(char* to); |
char* RestoreStackGuard(char* from); |