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 WASM_RUN_UTILS_H | 5 #ifndef WASM_RUN_UTILS_H |
6 #define WASM_RUN_UTILS_H | 6 #define WASM_RUN_UTILS_H |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <stdlib.h> | 9 #include <stdlib.h> |
10 #include <string.h> | 10 #include <string.h> |
11 #include <memory> | 11 #include <memory> |
12 | 12 |
13 #include "src/base/utils/random-number-generator.h" | 13 #include "src/base/utils/random-number-generator.h" |
14 #include "src/zone/accounting-allocator.h" | 14 #include "src/zone/accounting-allocator.h" |
15 | 15 |
| 16 #include "src/compiler/compiler-source-position-table.h" |
16 #include "src/compiler/graph-visualizer.h" | 17 #include "src/compiler/graph-visualizer.h" |
17 #include "src/compiler/int64-lowering.h" | 18 #include "src/compiler/int64-lowering.h" |
18 #include "src/compiler/js-graph.h" | 19 #include "src/compiler/js-graph.h" |
19 #include "src/compiler/node.h" | 20 #include "src/compiler/node.h" |
20 #include "src/compiler/pipeline.h" | 21 #include "src/compiler/pipeline.h" |
21 #include "src/compiler/wasm-compiler.h" | 22 #include "src/compiler/wasm-compiler.h" |
22 #include "src/compiler/zone-stats.h" | 23 #include "src/compiler/zone-stats.h" |
23 #include "src/wasm/ast-decoder.h" | 24 #include "src/wasm/ast-decoder.h" |
24 #include "src/wasm/wasm-interpreter.h" | 25 #include "src/wasm/wasm-interpreter.h" |
25 #include "src/wasm/wasm-js.h" | 26 #include "src/wasm/wasm-js.h" |
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
789 // interpreter. | 790 // interpreter. |
790 #define WASM_EXEC_TEST(name) \ | 791 #define WASM_EXEC_TEST(name) \ |
791 void RunWasm_##name(WasmExecutionMode execution_mode); \ | 792 void RunWasm_##name(WasmExecutionMode execution_mode); \ |
792 TEST(RunWasmCompiled_##name) { RunWasm_##name(kExecuteCompiled); } \ | 793 TEST(RunWasmCompiled_##name) { RunWasm_##name(kExecuteCompiled); } \ |
793 TEST(RunWasmInterpreted_##name) { RunWasm_##name(kExecuteInterpreted); } \ | 794 TEST(RunWasmInterpreted_##name) { RunWasm_##name(kExecuteInterpreted); } \ |
794 void RunWasm_##name(WasmExecutionMode execution_mode) | 795 void RunWasm_##name(WasmExecutionMode execution_mode) |
795 | 796 |
796 } // namespace | 797 } // namespace |
797 | 798 |
798 #endif | 799 #endif |
OLD | NEW |