OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/compiler/access-builder.h" | 5 #include "src/compiler/access-builder.h" |
6 #include "src/types-inl.h" | 6 #include "src/types-inl.h" |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 namespace compiler { | 10 namespace compiler { |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 Type::Any(), kMachAnyTagged}; | 157 Type::Any(), kMachAnyTagged}; |
158 } | 158 } |
159 | 159 |
160 | 160 |
161 // static | 161 // static |
162 FieldAccess AccessBuilder::ForSharedFunctionInfoTypeFeedbackVector() { | 162 FieldAccess AccessBuilder::ForSharedFunctionInfoTypeFeedbackVector() { |
163 return {kTaggedBase, SharedFunctionInfo::kFeedbackVectorOffset, | 163 return {kTaggedBase, SharedFunctionInfo::kFeedbackVectorOffset, |
164 Handle<Name>(), Type::Any(), kMachAnyTagged}; | 164 Handle<Name>(), Type::Any(), kMachAnyTagged}; |
165 } | 165 } |
166 | 166 |
| 167 |
| 168 // static |
| 169 FieldAccess AccessBuilder::ForFrameCallerFramePtr() { |
| 170 return {kUntaggedBase, StandardFrameConstants::kCallerFPOffset, |
| 171 MaybeHandle<Name>(), Type::UntaggedPointer(), kMachPtr}; |
| 172 } |
| 173 |
| 174 |
| 175 // static |
| 176 FieldAccess AccessBuilder::ForFrameMarker() { |
| 177 return {kUntaggedBase, StandardFrameConstants::kMarkerOffset, |
| 178 MaybeHandle<Name>(), Type::TaggedPointer(), kMachAnyTagged}; |
| 179 } |
| 180 |
| 181 |
167 } // namespace compiler | 182 } // namespace compiler |
168 } // namespace internal | 183 } // namespace internal |
169 } // namespace v8 | 184 } // namespace v8 |
OLD | NEW |