From d22fbd7e6b493c12879c34650532b86eb3f674a2 Mon Sep 17 00:00:00 2001 From: Keyhan Vakil Date: Thu, 21 Jul 2022 04:42:46 +0000 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 --- src/node.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node.cc b/src/node.cc index 69a4904850cd76..2b6a100028cadb 100644 --- a/src/node.cc +++ b/src/node.cc @@ -262,10 +262,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,