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_FAST_ACCESSOR_ASSEMBLER_H_ | 5 #ifndef V8_FAST_ACCESSOR_ASSEMBLER_H_ |
6 #define V8_FAST_ACCESSOR_ASSEMBLER_H_ | 6 #define V8_FAST_ACCESSOR_ASSEMBLER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <memory> | 9 #include <memory> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "include/v8-experimental.h" | 12 #include "include/v8-experimental.h" |
13 #include "src/base/macros.h" | 13 #include "src/base/macros.h" |
14 #include "src/handles.h" | 14 #include "src/zone/zone.h" |
15 | 15 |
16 namespace v8 { | 16 namespace v8 { |
17 namespace internal { | 17 namespace internal { |
18 | 18 |
19 class Code; | 19 class Code; |
20 class CodeStubAssembler; | 20 class CodeStubAssembler; |
21 class Isolate; | 21 class Isolate; |
22 class Zone; | 22 template <typename T> |
| 23 class MaybeHandle; |
23 | 24 |
24 namespace compiler { | 25 namespace compiler { |
25 class Node; | 26 class Node; |
26 class CodeAssemblerLabel; | 27 class CodeAssemblerLabel; |
27 class CodeAssemblerState; | 28 class CodeAssemblerState; |
28 class CodeAssemblerVariable; | 29 class CodeAssemblerVariable; |
29 } | 30 } |
30 | 31 |
31 // This interface "exports" an aggregated subset of RawMachineAssembler, for | 32 // This interface "exports" an aggregated subset of RawMachineAssembler, for |
32 // use by the API to implement Fast Dom Accessors. | 33 // use by the API to implement Fast Dom Accessors. |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 // strict as this class will be exposed at the API.) | 113 // strict as this class will be exposed at the API.) |
113 enum { kBuilding, kBuilt, kError } state_; | 114 enum { kBuilding, kBuilt, kError } state_; |
114 | 115 |
115 DISALLOW_COPY_AND_ASSIGN(FastAccessorAssembler); | 116 DISALLOW_COPY_AND_ASSIGN(FastAccessorAssembler); |
116 }; | 117 }; |
117 | 118 |
118 } // namespace internal | 119 } // namespace internal |
119 } // namespace v8 | 120 } // namespace v8 |
120 | 121 |
121 #endif // V8_FAST_ACCESSOR_ASSEMBLER_H_ | 122 #endif // V8_FAST_ACCESSOR_ASSEMBLER_H_ |
OLD | NEW |