| 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 { |
| 11 | 11 |
| 12 // static | 12 // static |
| 13 FieldAccess AccessBuilder::ForMap() { | 13 FieldAccess AccessBuilder::ForMap() { |
| 14 FieldAccess access = {kTaggedBase, HeapObject::kMapOffset, | 14 FieldAccess access = {kTaggedBase, HeapObject::kMapOffset, |
| 15 MaybeHandle<Name>(), Type::Any(), kMachAnyTagged}; | 15 MaybeHandle<Name>(), Type::Internal(), kMachAnyTagged}; |
| 16 return access; | 16 return access; |
| 17 } | 17 } |
| 18 | 18 |
| 19 | 19 |
| 20 // static | 20 // static |
| 21 FieldAccess AccessBuilder::ForJSObjectProperties() { | 21 FieldAccess AccessBuilder::ForJSObjectProperties() { |
| 22 FieldAccess access = {kTaggedBase, JSObject::kPropertiesOffset, | 22 FieldAccess access = {kTaggedBase, JSObject::kPropertiesOffset, |
| 23 MaybeHandle<Name>(), Type::Any(), kMachAnyTagged}; | 23 MaybeHandle<Name>(), Type::Any(), kMachAnyTagged}; |
| 24 return access; | 24 return access; |
| 25 } | 25 } |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 // static | 299 // static |
| 300 FieldAccess AccessBuilder::ForFrameMarker() { | 300 FieldAccess AccessBuilder::ForFrameMarker() { |
| 301 FieldAccess access = {kUntaggedBase, StandardFrameConstants::kMarkerOffset, | 301 FieldAccess access = {kUntaggedBase, StandardFrameConstants::kMarkerOffset, |
| 302 MaybeHandle<Name>(), Type::Tagged(), kMachAnyTagged}; | 302 MaybeHandle<Name>(), Type::Tagged(), kMachAnyTagged}; |
| 303 return access; | 303 return access; |
| 304 } | 304 } |
| 305 | 305 |
| 306 } // namespace compiler | 306 } // namespace compiler |
| 307 } // namespace internal | 307 } // namespace internal |
| 308 } // namespace v8 | 308 } // namespace v8 |
| OLD | NEW |