Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index a28075c24c35940d9d42f1e1037a9d962c8a402a..5046fef5935c4b2ea66565491f3d7f272cfb4b44 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -38,6 +38,13 @@ FieldAccess AccessBuilder::ForJSFunctionContext() { |
// static |
+FieldAccess AccessBuilder::ForJSFunctionSharedFunctionInfo() { |
+ return {kTaggedBase, JSFunction::kSharedFunctionInfoOffset, Handle<Name>(), |
+ Type::Any(), kMachAnyTagged}; |
+} |
+ |
+ |
+// static |
FieldAccess AccessBuilder::ForJSArrayBufferBackingStore() { |
return {kTaggedBase, JSArrayBuffer::kBackingStoreOffset, MaybeHandle<Name>(), |
Type::UntaggedPointer(), kMachPtr}; |
@@ -129,15 +136,16 @@ FieldAccess AccessBuilder::ForContextSlot(size_t index) { |
// static |
-FieldAccess AccessBuilder::ForStatsCounter() { |
- return {kUntaggedBase, 0, MaybeHandle<Name>(), Type::Signed32(), kMachInt32}; |
+FieldAccess AccessBuilder::ForPropertyCellValue() { |
+ return {kTaggedBase, PropertyCell::kValueOffset, Handle<Name>(), Type::Any(), |
+ kMachAnyTagged}; |
} |
// static |
-FieldAccess AccessBuilder::ForPropertyCellValue() { |
- return {kTaggedBase, PropertyCell::kValueOffset, Handle<Name>(), Type::Any(), |
- kMachAnyTagged}; |
+FieldAccess AccessBuilder::ForSharedFunctionInfoTypeFeedbackVector() { |
+ return {kTaggedBase, SharedFunctionInfo::kFeedbackVectorOffset, |
+ Handle<Name>(), Type::Any(), kMachAnyTagged}; |
} |
@@ -192,16 +200,8 @@ ElementAccess AccessBuilder::ForSeqStringChar(String::Encoding encoding) { |
// static |
-FieldAccess AccessBuilder::ForJSFunctionSharedFunctionInfo() { |
- return {kTaggedBase, JSFunction::kSharedFunctionInfoOffset, Handle<Name>(), |
- Type::Any(), kMachAnyTagged}; |
-} |
- |
- |
-// static |
-FieldAccess AccessBuilder::ForSharedFunctionInfoTypeFeedbackVector() { |
- return {kTaggedBase, SharedFunctionInfo::kFeedbackVectorOffset, |
- Handle<Name>(), Type::Any(), kMachAnyTagged}; |
+FieldAccess AccessBuilder::ForStatsCounter() { |
+ return {kUntaggedBase, 0, MaybeHandle<Name>(), Type::Signed32(), kMachInt32}; |
} |