Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index c03b787aa4005eefca057f601425f013d444c1e8..a28075c24c35940d9d42f1e1037a9d962c8a402a 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -45,6 +45,13 @@ FieldAccess AccessBuilder::ForJSArrayBufferBackingStore() { |
// static |
+FieldAccess AccessBuilder::ForJSDateField(JSDate::FieldIndex index) { |
+ return {kTaggedBase, JSDate::kValueOffset + index * kPointerSize, |
+ MaybeHandle<Name>(), Type::Number(), kMachAnyTagged}; |
+} |
+ |
+ |
+// static |
FieldAccess AccessBuilder::ForFixedArrayLength() { |
// TODO(turbofan): 2^30 is a valid upper limit for the FixedArray::length |
// field, although it's not the best. If we had a Zone we could create an |