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 | 11 |
12 #include "src/base/utils/random-number-generator.h" | 12 #include "src/base/utils/random-number-generator.h" |
13 | 13 |
14 #include "src/compiler/graph-visualizer.h" | 14 #include "src/compiler/graph-visualizer.h" |
15 #include "src/compiler/int64-lowering.h" | 15 #include "src/compiler/int64-lowering.h" |
16 #include "src/compiler/js-graph.h" | 16 #include "src/compiler/js-graph.h" |
17 #include "src/compiler/node.h" | 17 #include "src/compiler/node.h" |
18 #include "src/compiler/pipeline.h" | 18 #include "src/compiler/pipeline.h" |
19 #include "src/compiler/wasm-compiler.h" | 19 #include "src/compiler/wasm-compiler.h" |
20 #include "src/compiler/zone-pool.h" | 20 #include "src/compiler/zone-pool.h" |
21 | 21 |
22 #include "src/wasm/ast-decoder.h" | 22 #include "src/wasm/ast-decoder.h" |
23 #include "src/wasm/wasm-js.h" | 23 #include "src/wasm/wasm-js.h" |
| 24 #include "src/wasm/wasm-macro-gen.h" |
24 #include "src/wasm/wasm-module.h" | 25 #include "src/wasm/wasm-module.h" |
25 #include "src/wasm/wasm-opcodes.h" | 26 #include "src/wasm/wasm-opcodes.h" |
26 | 27 |
27 #include "src/zone.h" | 28 #include "src/zone.h" |
28 | 29 |
29 #include "test/cctest/cctest.h" | 30 #include "test/cctest/cctest.h" |
30 #include "test/cctest/compiler/call-tester.h" | 31 #include "test/cctest/compiler/call-tester.h" |
31 #include "test/cctest/compiler/graph-builder-tester.h" | 32 #include "test/cctest/compiler/graph-builder-tester.h" |
32 | 33 |
33 // TODO(titzer): pull WASM_64 up to a common header. | 34 // TODO(titzer): pull WASM_64 up to a common header. |
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 if (p1 == MachineType::None()) return 1; | 659 if (p1 == MachineType::None()) return 1; |
659 if (p2 == MachineType::None()) return 2; | 660 if (p2 == MachineType::None()) return 2; |
660 if (p3 == MachineType::None()) return 3; | 661 if (p3 == MachineType::None()) return 3; |
661 return 4; | 662 return 4; |
662 } | 663 } |
663 }; | 664 }; |
664 | 665 |
665 } // namespace | 666 } // namespace |
666 | 667 |
667 #endif | 668 #endif |
OLD | NEW |