Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index 090814756f172763fcb2a7138bb13b59e74e3120..ac0be79225a1a8bae269cf712fab5afc09a5a695 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -131,6 +131,14 @@ FieldAccess AccessBuilder::ForMapInstanceType() { |
// static |
+FieldAccess AccessBuilder::ForMapPrototype() { |
+ FieldAccess access = {kTaggedBase, Map::kPrototypeOffset, Handle<Name>(), |
+ Type::TaggedPointer(), kMachAnyTagged}; |
+ return access; |
+} |
+ |
+ |
+// static |
FieldAccess AccessBuilder::ForStringLength() { |
FieldAccess access = {kTaggedBase, String::kLengthOffset, Handle<Name>(), |
TypeCache::Get().kStringLengthType, kMachAnyTagged}; |