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 #include <cstring> | 5 #include <cstring> |
6 #include <functional> | 6 #include <functional> |
7 #include <iostream> | 7 #include <iostream> |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/asmjs/asm-typer.h" | 10 #include "src/asmjs/asm-typer.h" |
11 #include "src/asmjs/asm-types.h" | 11 #include "src/asmjs/asm-types.h" |
12 #include "src/ast/ast-value-factory.h" | 12 #include "src/ast/ast-value-factory.h" |
13 #include "src/ast/ast.h" | 13 #include "src/ast/ast.h" |
14 #include "src/ast/scopes.h" | 14 #include "src/ast/scopes.h" |
15 #include "src/base/platform/platform.h" | 15 #include "src/base/platform/platform.h" |
| 16 #include "src/compiler.h" |
| 17 #include "src/parsing/parse-info.h" |
16 #include "src/parsing/parser.h" | 18 #include "src/parsing/parser.h" |
17 #include "src/v8.h" | 19 #include "src/v8.h" |
18 #include "test/cctest/cctest.h" | 20 #include "test/cctest/cctest.h" |
19 | 21 |
20 using namespace v8::internal; | 22 using namespace v8::internal; |
21 namespace iw = v8::internal::wasm; | 23 namespace iw = v8::internal::wasm; |
22 | 24 |
23 namespace v8 { | 25 namespace v8 { |
24 namespace internal { | 26 namespace internal { |
25 namespace wasm { | 27 namespace wasm { |
(...skipping 1907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1933 for (size_t ii = 0; ii < arraysize(kTests); ++ii) { | 1935 for (size_t ii = 0; ii < arraysize(kTests); ++ii) { |
1934 if (!ValidationOf(Module(kTests[ii])) | 1936 if (!ValidationOf(Module(kTests[ii])) |
1935 ->FailsWithMessage("Invalid heap access index")) { | 1937 ->FailsWithMessage("Invalid heap access index")) { |
1936 std::cerr << "Test:\n" << kTests[ii]; | 1938 std::cerr << "Test:\n" << kTests[ii]; |
1937 CHECK(false); | 1939 CHECK(false); |
1938 } | 1940 } |
1939 } | 1941 } |
1940 } | 1942 } |
1941 | 1943 |
1942 } // namespace | 1944 } // namespace |
OLD | NEW |