| 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" |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 std::string source_; | 317 std::string source_; |
| 318 ValidationType validation_type_; | 318 ValidationType validation_type_; |
| 319 HandleAndZoneScope handles_; | 319 HandleAndZoneScope handles_; |
| 320 Zone* zone_; | 320 Zone* zone_; |
| 321 Isolate* isolate_; | 321 Isolate* isolate_; |
| 322 AstValueFactory ast_value_factory_; | 322 AstValueFactory ast_value_factory_; |
| 323 Factory* factory_; | 323 Factory* factory_; |
| 324 Handle<String> source_code_; | 324 Handle<String> source_code_; |
| 325 Handle<Script> script_; | 325 Handle<Script> script_; |
| 326 | 326 |
| 327 DeclarationScope* outer_scope_; | 327 Scope* outer_scope_; |
| 328 FunctionLiteral* module_; | 328 FunctionLiteral* module_; |
| 329 FunctionDeclaration* fun_decl_; | 329 FunctionDeclaration* fun_decl_; |
| 330 std::unique_ptr<AsmTyper> typer_; | 330 std::unique_ptr<AsmTyper> typer_; |
| 331 std::unique_ptr<AsmTyper::FunctionScope> fun_scope_; | 331 std::unique_ptr<AsmTyper::FunctionScope> fun_scope_; |
| 332 }; | 332 }; |
| 333 | 333 |
| 334 } // namespace wasm | 334 } // namespace wasm |
| 335 } // namespace internal | 335 } // namespace internal |
| 336 } // namespace v8 | 336 } // namespace v8 |
| 337 | 337 |
| (...skipping 1594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1932 for (size_t ii = 0; ii < arraysize(kTests); ++ii) { | 1932 for (size_t ii = 0; ii < arraysize(kTests); ++ii) { |
| 1933 if (!ValidationOf(Module(kTests[ii])) | 1933 if (!ValidationOf(Module(kTests[ii])) |
| 1934 ->FailsWithMessage("Invalid heap access index")) { | 1934 ->FailsWithMessage("Invalid heap access index")) { |
| 1935 std::cerr << "Test:\n" << kTests[ii]; | 1935 std::cerr << "Test:\n" << kTests[ii]; |
| 1936 CHECK(false); | 1936 CHECK(false); |
| 1937 } | 1937 } |
| 1938 } | 1938 } |
| 1939 } | 1939 } |
| 1940 | 1940 |
| 1941 } // namespace | 1941 } // namespace |
| OLD | NEW |