Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index be1396b28f97508b18c0074c66b75b6a8e9e5648..1710314fd1a759c006b61e9da08e910adca2bd99 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -633,6 +633,25 @@ FieldAccess AccessBuilder::ForPropertyCellValue(Type* type) { |
} |
// static |
+FieldAccess AccessBuilder::ForContextExtensionScopeInfo() { |
+ FieldAccess access = {kTaggedBase, |
+ ContextExtension::kScopeInfoOffset, |
+ Handle<Name>(), |
+ Type::OtherInternal(), |
+ MachineType::AnyTagged(), |
+ kFullWriteBarrier}; |
+ return access; |
+} |
+ |
+// static |
+FieldAccess AccessBuilder::ForContextExtensionExtension() { |
+ FieldAccess access = { |
+ kTaggedBase, ContextExtension::kExtensionOffset, Handle<Name>(), |
+ Type::Any(), MachineType::AnyTagged(), kFullWriteBarrier}; |
+ return access; |
+} |
+ |
+// static |
ElementAccess AccessBuilder::ForFixedArrayElement() { |
ElementAccess access = {kTaggedBase, FixedArray::kHeaderSize, Type::Tagged(), |
MachineType::AnyTagged(), kFullWriteBarrier}; |