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_WASM_ENCODER_H_ | 5 #ifndef V8_WASM_ENCODER_H_ |
6 #define V8_WASM_ENCODER_H_ | 6 #define V8_WASM_ENCODER_H_ |
7 | 7 |
8 #include "src/signature.h" | 8 #include "src/signature.h" |
9 #include "src/zone-containers.h" | 9 #include "src/zone-containers.h" |
10 | 10 |
11 #include "src/base/smart-pointers.h" | |
12 | |
13 #include "src/wasm/leb-helper.h" | 11 #include "src/wasm/leb-helper.h" |
14 #include "src/wasm/wasm-macro-gen.h" | 12 #include "src/wasm/wasm-macro-gen.h" |
15 #include "src/wasm/wasm-module.h" | 13 #include "src/wasm/wasm-module.h" |
16 #include "src/wasm/wasm-opcodes.h" | 14 #include "src/wasm/wasm-opcodes.h" |
17 #include "src/wasm/wasm-result.h" | 15 #include "src/wasm/wasm-result.h" |
18 | 16 |
19 namespace v8 { | 17 namespace v8 { |
20 namespace internal { | 18 namespace internal { |
21 namespace wasm { | 19 namespace wasm { |
22 | 20 |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 ZoneVector<std::pair<LocalType, bool>> globals_; | 196 ZoneVector<std::pair<LocalType, bool>> globals_; |
199 SignatureMap signature_map_; | 197 SignatureMap signature_map_; |
200 int start_function_index_; | 198 int start_function_index_; |
201 }; | 199 }; |
202 | 200 |
203 } // namespace wasm | 201 } // namespace wasm |
204 } // namespace internal | 202 } // namespace internal |
205 } // namespace v8 | 203 } // namespace v8 |
206 | 204 |
207 #endif // V8_WASM_ENCODER_H_ | 205 #endif // V8_WASM_ENCODER_H_ |
OLD | NEW |