Skip to content
File

Blob: patches/v8/0014-Add-another-slot-in-the-isolate-for-embedder.patch

898 bytes
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Erik Corry <erikcorry@chromium.org>
3Date: Mon, 2 Dec 2024 14:16:37 +0100
4Subject: Add another slot in the isolate for embedder
5 
6Signed-off-by: James M Snell <jsnell@cloudflare.com>
7 
8diff --git a/include/v8-internal.h b/include/v8-internal.h
9index d958e8d8dbb78720b0b54b8fc053fba29b286790..b453ac38c288a928f4bdf33d4f573cf7294a377d 100644
10--- a/include/v8-internal.h
11+++ b/include/v8-internal.h
12@@ -1027,7 +1027,7 @@ class Internals {
13 // AccessorInfo::data and InterceptorInfo::data field.
14 static const int kCallbackInfoDataOffset = 1 * kApiTaggedSize;
15
16- static const uint32_t kNumIsolateDataSlots = 4;
17+ static const uint32_t kNumIsolateDataSlots = 6;
18 static const int kStackGuardSize = 8 * kApiSystemPointerSize;
19 static const int kNumberOfBooleanFlags = 6;
20 static const int kErrorMessageParamSize = 1;