From 38cdb1f9b6f5e89c38d405ee2a09e19f9e13f8ac Mon Sep 17 00:00:00 2001 From: Keyhan Vakil Date: Tue, 2 Aug 2022 21:04:35 -0700 Subject: [PATCH] src: remove usages of GetBackingStore in startup This removes all usages of GetBackingStore in startup. See the linked issue for an explanation. Refs: https://github.com/nodejs/node/issues/32226 Refs: https://github.com/nodejs/node/pull/43921 PR-URL: https://github.com/nodejs/node/pull/44078 Reviewed-By: Darshan Sen Reviewed-By: Matteo Collina Reviewed-By: Feng Yu Reviewed-By: Chengzhong Wu Reviewed-By: Anna Henningsen --- src/node.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node.cc b/src/node.cc index fb02398df18cef..5cbe48abd184e9 100644 --- a/src/node.cc +++ b/src/node.cc @@ -266,10 +266,10 @@ static void AtomicsWaitCallback(Isolate::AtomicsWaitEvent event, fprintf(stderr, "(node:%d) [Thread %" PRIu64 "] Atomics.wait(%p + %zx, %" PRId64 - ", %.f) %s\n", + ", %.f) %s\n", static_cast(uv_os_getpid()), env->thread_id(), - array_buffer->GetBackingStore()->Data(), + array_buffer->Data(), offset_in_bytes, value, timeout_in_ms,