Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index d910c01101d3879a015f211492d66a4dc1e8af3f..e2de39c2bc9b9db70805f188d60e7e61c60057c5 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -5161,7 +5161,7 @@ void ValidateSharedTypedArray(CodeStubAssembler* a, compiler::Node* tagged, |
a->Bind(&is_typed_array); |
Node* array_buffer = a->LoadObjectField(tagged, JSTypedArray::kBufferOffset); |
Node* is_buffer_shared = a->BitFieldDecode<JSArrayBuffer::IsShared>( |
- a->LoadObjectField(array_buffer, JSArrayBuffer::kBitFieldOffset)); |
+ a->LoadObjectField(array_buffer, JSArrayBuffer::kBitFieldSlot)); |
a->Branch(is_buffer_shared, &is_shared, ¬_shared); |
a->Bind(¬_shared); |
a->Goto(&invalid); |