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_WASM_COMPILER_H_ | 5 #ifndef V8_COMPILER_WASM_COMPILER_H_ |
6 #define V8_COMPILER_WASM_COMPILER_H_ | 6 #define V8_COMPILER_WASM_COMPILER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 // Clients of this interface shouldn't depend on lots of compiler internals. | 10 // Clients of this interface shouldn't depend on lots of compiler internals. |
11 // Do not include anything from src/compiler here! | 11 // Do not include anything from src/compiler here! |
12 #include "src/compilation-info.h" | 12 #include "src/compilation-info.h" |
13 #include "src/compiler.h" | 13 #include "src/compiler.h" |
14 #include "src/wasm/wasm-opcodes.h" | 14 #include "src/wasm/wasm-opcodes.h" |
15 #include "src/wasm/wasm-result.h" | 15 #include "src/wasm/wasm-result.h" |
16 #include "src/zone.h" | 16 #include "src/zone/zone.h" |
17 | 17 |
18 namespace v8 { | 18 namespace v8 { |
19 namespace internal { | 19 namespace internal { |
20 | 20 |
21 namespace compiler { | 21 namespace compiler { |
22 // Forward declarations for some compiler data structures. | 22 // Forward declarations for some compiler data structures. |
23 class Node; | 23 class Node; |
24 class JSGraph; | 24 class JSGraph; |
25 class Graph; | 25 class Graph; |
26 class Operator; | 26 class Operator; |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 } | 342 } |
343 | 343 |
344 int AddParameterNodes(Node** args, int pos, int param_count, | 344 int AddParameterNodes(Node** args, int pos, int param_count, |
345 wasm::FunctionSig* sig); | 345 wasm::FunctionSig* sig); |
346 }; | 346 }; |
347 } // namespace compiler | 347 } // namespace compiler |
348 } // namespace internal | 348 } // namespace internal |
349 } // namespace v8 | 349 } // namespace v8 |
350 | 350 |
351 #endif // V8_COMPILER_WASM_COMPILER_H_ | 351 #endif // V8_COMPILER_WASM_COMPILER_H_ |
OLD | NEW |