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 #include <stdint.h> | 5 #include <stdint.h> |
6 #include <stdio.h> | 6 #include <stdio.h> |
7 #include <stdlib.h> | 7 #include <stdlib.h> |
8 #include <string.h> | 8 #include <string.h> |
9 | 9 |
10 #include "src/wasm/wasm-macro-gen.h" | 10 #include "src/wasm/wasm-macro-gen.h" |
11 | 11 |
12 #include "test/cctest/cctest.h" | 12 #include "test/cctest/cctest.h" |
| 13 #include "test/cctest/compiler/value-helper.h" |
13 #include "test/cctest/wasm/test-signatures.h" | 14 #include "test/cctest/wasm/test-signatures.h" |
14 #include "test/cctest/wasm/wasm-run-utils.h" | 15 #include "test/cctest/wasm/wasm-run-utils.h" |
15 | 16 |
16 using namespace v8::base; | 17 using namespace v8::base; |
17 using namespace v8::internal; | 18 using namespace v8::internal; |
18 using namespace v8::internal::compiler; | 19 using namespace v8::internal::compiler; |
19 using namespace v8::internal::wasm; | 20 using namespace v8::internal::wasm; |
20 | 21 |
21 #define BUILD(r, ...) \ | 22 #define BUILD(r, ...) \ |
22 do { \ | 23 do { \ |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 RunJSSelectAlignTest(1, 2); | 422 RunJSSelectAlignTest(1, 2); |
422 RunJSSelectAlignTest(1, 3); | 423 RunJSSelectAlignTest(1, 3); |
423 } | 424 } |
424 | 425 |
425 | 426 |
426 TEST(Run_JSSelectAlign_3) { | 427 TEST(Run_JSSelectAlign_3) { |
427 RunJSSelectAlignTest(3, 3); | 428 RunJSSelectAlignTest(3, 3); |
428 RunJSSelectAlignTest(3, 4); | 429 RunJSSelectAlignTest(3, 4); |
429 } | 430 } |
430 #endif | 431 #endif |
OLD | NEW |