Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 1e6ac19bf7f42dcedcd7fe1a953168967002bdfc..81ecb890bf9c22551202bb6b2e51d19c0abd10ac 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -6025,6 +6025,11 @@ class HObjectAccess V8_FINAL { |
JSArrayBuffer::kBackingStoreOffset, Representation::External()); |
} |
+ static HObjectAccess ForJSArrayBufferByteLength() { |
+ return HObjectAccess::ForObservableJSObjectOffset( |
+ JSArrayBuffer::kByteLengthOffset, Representation::Tagged()); |
+ } |
+ |
static HObjectAccess ForExternalArrayExternalPointer() { |
return HObjectAccess::ForObservableJSObjectOffset( |
ExternalArray::kExternalPointerOffset, Representation::External()); |