| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index fc94f86dc8a4001e93ed708712a60ea3459c5737..0fbfc56cf3ebb67fe2b8d19e2a8c4096131a1b24 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -5474,7 +5474,12 @@ class Internals {
|
| static const int kExternalAsciiRepresentationTag = 0x06;
|
|
|
| static const int kIsolateEmbedderDataOffset = 1 * kApiPointerSize;
|
| +#if V8_CC_MSVC
|
| + // MSVS packs structs differently than other compilers.
|
| + static const int kIsolateRootsOffset = 7 * kApiPointerSize;
|
| +#else
|
| static const int kIsolateRootsOffset = 6 * kApiPointerSize;
|
| +#endif
|
| static const int kUndefinedValueRootIndex = 5;
|
| static const int kNullValueRootIndex = 7;
|
| static const int kTrueValueRootIndex = 8;
|
|
|