diff options
author | Michaël Zasso <targos@protonmail.com> | 2021-06-08 14:04:59 +0200 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2021-06-10 11:10:13 +0200 |
commit | a7cbf19a82c75e9a65e90fb8ba4947e2fc52ef39 (patch) | |
tree | dadfaa9c63c5d8db997b7c7aacc313b04131157c /deps/v8/src/heap/basic-memory-chunk.cc | |
parent | 8834ec9f5c522f7d800d85b245a9806418515b7c (diff) | |
download | node-new-a7cbf19a82c75e9a65e90fb8ba4947e2fc52ef39.tar.gz |
deps: update V8 to 9.1.269.36
PR-URL: https://github.com/nodejs/node/pull/38273
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Mary Marchini <oss@mmarchini.me>
Diffstat (limited to 'deps/v8/src/heap/basic-memory-chunk.cc')
-rw-r--r-- | deps/v8/src/heap/basic-memory-chunk.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/deps/v8/src/heap/basic-memory-chunk.cc b/deps/v8/src/heap/basic-memory-chunk.cc index 8b89c26ddb..6fb0467c39 100644 --- a/deps/v8/src/heap/basic-memory-chunk.cc +++ b/deps/v8/src/heap/basic-memory-chunk.cc @@ -62,10 +62,11 @@ bool BasicMemoryChunk::InLargeObjectSpace() const { } #ifdef THREAD_SANITIZER -void BasicMemoryChunk::SynchronizedHeapLoad() { - CHECK(reinterpret_cast<Heap*>(base::Acquire_Load( - reinterpret_cast<base::AtomicWord*>(&heap_))) != nullptr || - InReadOnlySpace()); +void BasicMemoryChunk::SynchronizedHeapLoad() const { + CHECK(reinterpret_cast<Heap*>( + base::Acquire_Load(reinterpret_cast<base::AtomicWord*>( + &(const_cast<BasicMemoryChunk*>(this)->heap_)))) != nullptr || + InReadOnlySpaceRaw()); } #endif |