Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index 273b9ca8461fb8302d54d521fc9efc424ae12754..57cfc95a1bf7cd74a2c7c7b0fab76762e251cd06 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -129,6 +129,24 @@ FieldAccess AccessBuilder::ForJSDateField(JSDate::FieldIndex index) { |
// static |
+FieldAccess AccessBuilder::ForJSIteratorResultDone() { |
+ FieldAccess access = {kTaggedBase, JSIteratorResult::kDoneOffset, |
+ MaybeHandle<Name>(), Type::Any(), |
+ MachineType::AnyTagged()}; |
+ return access; |
+} |
+ |
+ |
+// static |
+FieldAccess AccessBuilder::ForJSIteratorResultValue() { |
+ FieldAccess access = {kTaggedBase, JSIteratorResult::kValueOffset, |
+ MaybeHandle<Name>(), Type::Any(), |
+ MachineType::AnyTagged()}; |
+ return access; |
+} |
+ |
+ |
+// static |
FieldAccess AccessBuilder::ForJSRegExpFlags() { |
FieldAccess access = {kTaggedBase, JSRegExp::kFlagsOffset, |
MaybeHandle<Name>(), Type::Tagged(), |