diff options
author | Michaël Zasso <targos@protonmail.com> | 2020-05-05 09:19:02 +0200 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2020-05-12 16:12:13 +0200 |
commit | 1d6adf7432defeb39b751a19c68335e8afb0d8ee (patch) | |
tree | 7ab67931110b8d9db770d774c7a6d0d14c976c15 /deps/v8/src/execution/isolate-data.h | |
parent | aee36a04475a20c13663d1037aa6f175ff368bc7 (diff) | |
download | node-new-1d6adf7432defeb39b751a19c68335e8afb0d8ee.tar.gz |
deps: update V8 to 8.3.110.9
PR-URL: https://github.com/nodejs/node/pull/32831
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'deps/v8/src/execution/isolate-data.h')
-rw-r--r-- | deps/v8/src/execution/isolate-data.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/deps/v8/src/execution/isolate-data.h b/deps/v8/src/execution/isolate-data.h index f402296ab5..2cbc3daa66 100644 --- a/deps/v8/src/execution/isolate-data.h +++ b/deps/v8/src/execution/isolate-data.h @@ -62,6 +62,14 @@ class IsolateData final { return kBuiltinsTableOffset - kIsolateRootBias; } + static constexpr int fast_c_call_caller_fp_offset() { + return kFastCCallCallerFPOffset - kIsolateRootBias; + } + + static constexpr int fast_c_call_caller_pc_offset() { + return kFastCCallCallerPCOffset - kIsolateRootBias; + } + // Root-register-relative offset of the given builtin table entry. // TODO(ishell): remove in favour of typified id version. static int builtin_slot_offset(int builtin_index) { @@ -117,7 +125,7 @@ class IsolateData final { V(kEmbedderDataOffset, Internals::kNumIsolateDataSlots* kSystemPointerSize) \ V(kExternalMemoryOffset, kInt64Size) \ V(kExternalMemoryLlimitOffset, kInt64Size) \ - V(kExternalMemoryAtLastMarkCompactOffset, kInt64Size) \ + V(kExternalMemoryLowSinceMarkCompactOffset, kInt64Size) \ V(kFastCCallCallerFPOffset, kSystemPointerSize) \ V(kFastCCallCallerPCOffset, kSystemPointerSize) \ V(kStackGuardOffset, StackGuard::kSizeInBytes) \ @@ -151,7 +159,7 @@ class IsolateData final { int64_t external_memory_limit_ = kExternalAllocationSoftLimit; // Caches the amount of external memory registered at the last MC. - int64_t external_memory_at_last_mark_compact_ = 0; + int64_t external_memory_low_since_mark_compact_ = 0; // Stores the state of the caller for TurboAssembler::CallCFunction so that // the sampling CPU profiler can iterate the stack during such calls. These @@ -220,8 +228,9 @@ void IsolateData::AssertPredictableLayout() { kExternalMemoryOffset); STATIC_ASSERT(offsetof(IsolateData, external_memory_limit_) == kExternalMemoryLlimitOffset); - STATIC_ASSERT(offsetof(IsolateData, external_memory_at_last_mark_compact_) == - kExternalMemoryAtLastMarkCompactOffset); + STATIC_ASSERT( + offsetof(IsolateData, external_memory_low_since_mark_compact_) == + kExternalMemoryLowSinceMarkCompactOffset); STATIC_ASSERT(offsetof(IsolateData, fast_c_call_caller_fp_) == kFastCCallCallerFPOffset); STATIC_ASSERT(offsetof(IsolateData, fast_c_call_caller_pc_) == |