Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index 21243a4220babfcaac0d21a9109eaa5a8e33e22f..c7b85255b299739941e6642016906e756ffa527c 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -180,6 +180,24 @@ FieldAccess AccessBuilder::ForJSGeneratorObjectContext() { |
} |
// static |
+FieldAccess AccessBuilder::ForJSGeneratorObjectFunction() { |
+ FieldAccess access = {kTaggedBase, JSGeneratorObject::kFunctionOffset, |
+ Handle<Name>(), MaybeHandle<Map>(), |
+ Type::Function(), MachineType::TaggedPointer(), |
+ kPointerWriteBarrier}; |
+ return access; |
+} |
+ |
+// static |
+FieldAccess AccessBuilder::ForJSGeneratorObjectReceiver() { |
+ FieldAccess access = {kTaggedBase, JSGeneratorObject::kReceiverOffset, |
+ Handle<Name>(), MaybeHandle<Map>(), |
+ Type::Internal(), MachineType::TaggedPointer(), |
+ kPointerWriteBarrier}; |
+ return access; |
+} |
+ |
+// static |
FieldAccess AccessBuilder::ForJSGeneratorObjectContinuation() { |
FieldAccess access = { |
kTaggedBase, JSGeneratorObject::kContinuationOffset, |
@@ -199,15 +217,6 @@ FieldAccess AccessBuilder::ForJSGeneratorObjectInputOrDebugPos() { |
return access; |
} |
-// static |
-FieldAccess AccessBuilder::ForJSAsyncGeneratorObjectAwaitInputOrDebugPos() { |
- FieldAccess access = { |
- kTaggedBase, JSAsyncGeneratorObject::kAwaitInputOrDebugPosOffset, |
- Handle<Name>(), MaybeHandle<Map>(), |
- Type::NonInternal(), MachineType::AnyTagged(), |
- kFullWriteBarrier}; |
- return access; |
-} |
// static |
FieldAccess AccessBuilder::ForJSGeneratorObjectRegisterFile() { |
@@ -230,6 +239,36 @@ FieldAccess AccessBuilder::ForJSGeneratorObjectResumeMode() { |
} |
// static |
+FieldAccess AccessBuilder::ForJSAsyncGeneratorObjectQueue() { |
+ FieldAccess access = { |
+ kTaggedBase, JSAsyncGeneratorObject::kQueueOffset, |
+ Handle<Name>(), MaybeHandle<Map>(), |
+ Type::NonInternal(), MachineType::AnyTagged(), |
+ kFullWriteBarrier}; |
+ return access; |
+} |
+ |
+// static |
+FieldAccess AccessBuilder::ForJSAsyncGeneratorObjectAwaitInputOrDebugPos() { |
+ FieldAccess access = { |
+ kTaggedBase, JSAsyncGeneratorObject::kAwaitInputOrDebugPosOffset, |
+ Handle<Name>(), MaybeHandle<Map>(), |
+ Type::NonInternal(), MachineType::AnyTagged(), |
+ kFullWriteBarrier}; |
+ return access; |
+} |
+ |
+// static |
+FieldAccess AccessBuilder::ForJSAsyncGeneratorObjectAwaitedPromise() { |
+ FieldAccess access = { |
+ kTaggedBase, JSAsyncGeneratorObject::kAwaitedPromiseOffset, |
+ Handle<Name>(), MaybeHandle<Map>(), |
+ Type::NonInternal(), MachineType::AnyTagged(), |
+ kFullWriteBarrier}; |
+ return access; |
+} |
+ |
+// static |
FieldAccess AccessBuilder::ForJSArrayLength(ElementsKind elements_kind) { |
TypeCache const& type_cache = TypeCache::Get(); |
FieldAccess access = {kTaggedBase, |