summaryrefslogtreecommitdiff
path: root/deps/v8/src/execution/thread-local-top.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/execution/thread-local-top.h')
-rw-r--r--deps/v8/src/execution/thread-local-top.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/deps/v8/src/execution/thread-local-top.h b/deps/v8/src/execution/thread-local-top.h
index 98c4f1b60f..8ac0602255 100644
--- a/deps/v8/src/execution/thread-local-top.h
+++ b/deps/v8/src/execution/thread-local-top.h
@@ -26,7 +26,6 @@ namespace internal {
class EmbedderState;
class ExternalCallbackScope;
class Isolate;
-class PromiseOnStack;
class Simulator;
class ThreadLocalTop {
@@ -35,9 +34,9 @@ class ThreadLocalTop {
// refactor this to really consist of just Addresses and 32-bit
// integer fields.
#ifdef V8_ENABLE_CONSERVATIVE_STACK_SCANNING
- static constexpr uint32_t kSizeInBytes = 27 * kSystemPointerSize;
-#else
static constexpr uint32_t kSizeInBytes = 26 * kSystemPointerSize;
+#else
+ static constexpr uint32_t kSizeInBytes = 25 * kSystemPointerSize;
#endif
// Does early low-level initialization that does not depend on the
@@ -140,11 +139,6 @@ class ThreadLocalTop {
// C function that was called at c entry.
Address c_function_;
- // Throwing an exception may cause a Promise rejection. For this purpose
- // we keep track of a stack of nested promises and the corresponding
- // try-catch handlers.
- PromiseOnStack* promise_on_stack_;
-
// Simulator field is always present to get predictable layout.
Simulator* simulator_;