OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_INTERPRETER_HANDLER_TABLE_BUILDER_H_ | 5 #ifndef V8_INTERPRETER_HANDLER_TABLE_BUILDER_H_ |
6 #define V8_INTERPRETER_HANDLER_TABLE_BUILDER_H_ | 6 #define V8_INTERPRETER_HANDLER_TABLE_BUILDER_H_ |
7 | 7 |
8 #include "src/handles.h" | |
9 #include "src/interpreter/bytecode-register.h" | 8 #include "src/interpreter/bytecode-register.h" |
10 #include "src/interpreter/bytecodes.h" | 9 #include "src/interpreter/bytecodes.h" |
11 #include "src/zone/zone-containers.h" | 10 #include "src/zone/zone-containers.h" |
12 | 11 |
13 namespace v8 { | 12 namespace v8 { |
14 namespace internal { | 13 namespace internal { |
15 | 14 |
| 15 template <typename T> |
| 16 class Handle; |
16 class HandlerTable; | 17 class HandlerTable; |
17 class Isolate; | 18 class Isolate; |
18 | 19 |
19 namespace interpreter { | 20 namespace interpreter { |
20 | 21 |
21 // A helper class for constructing exception handler tables for the interpreter. | 22 // A helper class for constructing exception handler tables for the interpreter. |
22 class V8_EXPORT_PRIVATE HandlerTableBuilder final BASE_EMBEDDED { | 23 class V8_EXPORT_PRIVATE HandlerTableBuilder final BASE_EMBEDDED { |
23 public: | 24 public: |
24 explicit HandlerTableBuilder(Zone* zone); | 25 explicit HandlerTableBuilder(Zone* zone); |
25 | 26 |
(...skipping 27 matching lines...) Expand all Loading... |
53 ZoneVector<Entry> entries_; | 54 ZoneVector<Entry> entries_; |
54 | 55 |
55 DISALLOW_COPY_AND_ASSIGN(HandlerTableBuilder); | 56 DISALLOW_COPY_AND_ASSIGN(HandlerTableBuilder); |
56 }; | 57 }; |
57 | 58 |
58 } // namespace interpreter | 59 } // namespace interpreter |
59 } // namespace internal | 60 } // namespace internal |
60 } // namespace v8 | 61 } // namespace v8 |
61 | 62 |
62 #endif // V8_INTERPRETER_HANDLER_TABLE_BUILDER_H_ | 63 #endif // V8_INTERPRETER_HANDLER_TABLE_BUILDER_H_ |
OLD | NEW |