OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef V8_COMPILER_ACCESS_INFO_H_ | 5 #ifndef V8_COMPILER_ACCESS_INFO_H_ |
6 #define V8_COMPILER_ACCESS_INFO_H_ | 6 #define V8_COMPILER_ACCESS_INFO_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/field-index.h" | 10 #include "src/field-index.h" |
11 #include "src/machine-type.h" | 11 #include "src/machine-type.h" |
12 #include "src/objects.h" | 12 #include "src/objects.h" |
13 #include "src/zone-containers.h" | 13 #include "src/zone-containers.h" |
14 | 14 |
15 namespace v8 { | 15 namespace v8 { |
16 namespace internal { | 16 namespace internal { |
17 | 17 |
18 // Forward declarations. | 18 // Forward declarations. |
19 class CompilationDependencies; | 19 class CompilationDependencies; |
20 class Factory; | 20 class Factory; |
21 | 21 |
22 namespace compiler { | 22 namespace compiler { |
23 | 23 |
24 // Forward declarations. | 24 // Forward declarations. |
| 25 class Type; |
25 class TypeCache; | 26 class TypeCache; |
26 | 27 |
27 // Whether we are loading a property or storing to a property. | 28 // Whether we are loading a property or storing to a property. |
28 enum class AccessMode { kLoad, kStore }; | 29 enum class AccessMode { kLoad, kStore }; |
29 | 30 |
30 std::ostream& operator<<(std::ostream&, AccessMode); | 31 std::ostream& operator<<(std::ostream&, AccessMode); |
31 | 32 |
32 typedef std::vector<Handle<Map>> MapList; | 33 typedef std::vector<Handle<Map>> MapList; |
33 | 34 |
34 // Mapping of transition source to transition target. | 35 // Mapping of transition source to transition target. |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 Zone* const zone_; | 163 Zone* const zone_; |
163 | 164 |
164 DISALLOW_COPY_AND_ASSIGN(AccessInfoFactory); | 165 DISALLOW_COPY_AND_ASSIGN(AccessInfoFactory); |
165 }; | 166 }; |
166 | 167 |
167 } // namespace compiler | 168 } // namespace compiler |
168 } // namespace internal | 169 } // namespace internal |
169 } // namespace v8 | 170 } // namespace v8 |
170 | 171 |
171 #endif // V8_COMPILER_ACCESS_INFO_H_ | 172 #endif // V8_COMPILER_ACCESS_INFO_H_ |
OLD | NEW |