diff options
Diffstat (limited to 'deps/v8/src/execution.h')
-rw-r--r-- | deps/v8/src/execution.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/deps/v8/src/execution.h b/deps/v8/src/execution.h index fd7636db96..d783e5c28b 100644 --- a/deps/v8/src/execution.h +++ b/deps/v8/src/execution.h @@ -5,11 +5,17 @@ #ifndef V8_EXECUTION_H_ #define V8_EXECUTION_H_ +#include "src/allocation.h" +#include "src/base/atomicops.h" #include "src/handles.h" +#include "src/utils.h" namespace v8 { namespace internal { +// Forward declarations. +class JSRegExp; + class Execution final : public AllStatic { public: // Call a function, the caller supplies a receiver and an array @@ -130,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); |