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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 Type::Any(), kMachAnyTagged}; | 190 Type::Any(), kMachAnyTagged}; |
191 } | 191 } |
192 | 192 |
193 | 193 |
194 // static | 194 // static |
195 FieldAccess AccessBuilder::ForSharedFunctionInfoTypeFeedbackVector() { | 195 FieldAccess AccessBuilder::ForSharedFunctionInfoTypeFeedbackVector() { |
196 return {kTaggedBase, SharedFunctionInfo::kFeedbackVectorOffset, | 196 return {kTaggedBase, SharedFunctionInfo::kFeedbackVectorOffset, |
197 Handle<Name>(), Type::Any(), kMachAnyTagged}; | 197 Handle<Name>(), Type::Any(), kMachAnyTagged}; |
198 } | 198 } |
199 | 199 |
| 200 |
| 201 // static |
| 202 FieldAccess AccessBuilder::ForFrameCallerFramePtr() { |
| 203 return {kUntaggedBase, StandardFrameConstants::kCallerFPOffset, |
| 204 MaybeHandle<Name>(), Type::Internal(), kMachPtr}; |
| 205 } |
| 206 |
| 207 |
| 208 // static |
| 209 FieldAccess AccessBuilder::ForFrameMarker() { |
| 210 return {kUntaggedBase, StandardFrameConstants::kMarkerOffset, |
| 211 MaybeHandle<Name>(), Type::Tagged(), kMachAnyTagged}; |
| 212 } |
| 213 |
200 } // namespace compiler | 214 } // namespace compiler |
201 } // namespace internal | 215 } // namespace internal |
202 } // namespace v8 | 216 } // namespace v8 |
OLD | NEW |