| 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" | 16 #include "src/compiler.h" |
| 17 #include "src/objects-inl.h" |
| 17 #include "src/parsing/parse-info.h" | 18 #include "src/parsing/parse-info.h" |
| 18 #include "src/parsing/parser.h" | 19 #include "src/parsing/parser.h" |
| 19 #include "src/v8.h" | 20 #include "src/v8.h" |
| 20 #include "test/cctest/cctest.h" | 21 #include "test/cctest/cctest.h" |
| 21 | 22 |
| 22 using namespace v8::internal; | 23 using namespace v8::internal; |
| 23 namespace iw = v8::internal::wasm; | 24 namespace iw = v8::internal::wasm; |
| 24 | 25 |
| 25 namespace v8 { | 26 namespace v8 { |
| 26 namespace internal { | 27 namespace internal { |
| (...skipping 2023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2050 if (!ValidationOf(Module(kTests[ii])) | 2051 if (!ValidationOf(Module(kTests[ii])) |
| 2051 ->FailsWithMessage( | 2052 ->FailsWithMessage( |
| 2052 "Constant in return must be signed, float, or double.")) { | 2053 "Constant in return must be signed, float, or double.")) { |
| 2053 std::cerr << "Test:\n" << kTests[ii]; | 2054 std::cerr << "Test:\n" << kTests[ii]; |
| 2054 CHECK(false); | 2055 CHECK(false); |
| 2055 } | 2056 } |
| 2056 } | 2057 } |
| 2057 } | 2058 } |
| 2058 | 2059 |
| 2059 } // namespace | 2060 } // namespace |
| OLD | NEW |