Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index 1a9a501e1c37fd619b486038dac1e1307e7bf1bb..c0818ec408be4b29350a4fa67c6b2c469600ad59 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -153,6 +153,14 @@ FieldAccess AccessBuilder::ForJSGeneratorObjectContinuation() { |
} |
// static |
+FieldAccess AccessBuilder::ForJSGeneratorObjectInput() { |
+ FieldAccess access = { |
+ kTaggedBase, JSGeneratorObject::kInputOffset, Handle<Name>(), |
+ Type::Any(), MachineType::AnyTagged(), kFullWriteBarrier}; |
+ return access; |
+} |
+ |
+// static |
FieldAccess AccessBuilder::ForJSGeneratorObjectOperandStack() { |
FieldAccess access = {kTaggedBase, |
JSGeneratorObject::kOperandStackOffset, |
@@ -164,6 +172,18 @@ FieldAccess AccessBuilder::ForJSGeneratorObjectOperandStack() { |
} |
// static |
+FieldAccess AccessBuilder::ForJSGeneratorObjectResumeMode() { |
+ TypeCache const& type_cache = TypeCache::Get(); |
+ FieldAccess access = {kTaggedBase, |
+ JSGeneratorObject::kResumeModeOffset, |
+ Handle<Name>(), |
+ type_cache.kSmi, |
+ MachineType::AnyTagged(), |
+ kNoWriteBarrier}; |
+ return access; |
+} |
+ |
+// static |
FieldAccess AccessBuilder::ForJSArrayLength(ElementsKind elements_kind) { |
TypeCache const& type_cache = TypeCache::Get(); |
FieldAccess access = {kTaggedBase, |