Index: src/builtins/builtins-sharedarraybuffer.cc |
diff --git a/src/builtins/builtins-sharedarraybuffer.cc b/src/builtins/builtins-sharedarraybuffer.cc |
index f7d5c38341620f93e7ee7058319822c24f009450..2b5bf498a51316ea80b43b856814a49d801defed 100644 |
--- a/src/builtins/builtins-sharedarraybuffer.cc |
+++ b/src/builtins/builtins-sharedarraybuffer.cc |
@@ -54,7 +54,7 @@ void ValidateSharedTypedArray(CodeStubAssembler* a, compiler::Node* tagged, |
Node* array_buffer = a->LoadObjectField(tagged, JSTypedArray::kBufferOffset); |
Node* is_buffer_shared = |
a->IsSetWord32<JSArrayBuffer::IsShared>(a->LoadObjectField( |
- array_buffer, JSArrayBuffer::kBitFieldSlot, MachineType::Uint32())); |
+ array_buffer, JSArrayBuffer::kBitFieldOffset, MachineType::Uint32())); |
a->Branch(is_buffer_shared, &is_shared, ¬_shared); |
a->Bind(¬_shared); |
a->Goto(&invalid); |