Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index 959c60a7901ca78c38b4f746d44221f109cf5b12..051b47c13ae23474832d9840979c373d5f4e8f1c 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -52,6 +52,20 @@ FieldAccess AccessBuilder::ForExternalArrayPointer() { |
// static |
+FieldAccess AccessBuilder::ForMapInstanceType() { |
+ return {kTaggedBase, Map::kInstanceTypeOffset, Handle<Name>(), |
+ Type::UntaggedInt8(), kMachUint8}; |
+} |
+ |
+ |
+// static |
+FieldAccess AccessBuilder::ForValue() { |
+ return {kTaggedBase, JSValue::kValueOffset, Handle<Name>(), Type::Any(), |
+ kMachAnyTagged}; |
+} |
+ |
+ |
+// static |
ElementAccess AccessBuilder::ForFixedArrayElement() { |
return {kNoBoundsCheck, kTaggedBase, FixedArray::kHeaderSize, Type::Any(), |
kMachAnyTagged}; |