Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index 0e6b70eeb900783c35d1680fb15dd3a1a9d40fca..80d3c8be9f5c8dd3d867e09d1db00a767f9e0440 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -269,6 +269,17 @@ FieldAccess AccessBuilder::ForJSTypedArrayLength() { |
} |
// static |
+FieldAccess AccessBuilder::ForJSDateValue() { |
+ FieldAccess access = {kTaggedBase, |
+ JSDate::kValueOffset, |
+ MaybeHandle<Name>(), |
+ TypeCache::Get().kJSDateValueType, |
+ MachineType::AnyTagged(), |
+ kFullWriteBarrier}; |
+ return access; |
+} |
+ |
+// static |
FieldAccess AccessBuilder::ForJSDateField(JSDate::FieldIndex index) { |
FieldAccess access = {kTaggedBase, |
JSDate::kValueOffset + index * kPointerSize, |