Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: test/cctest/asmjs/test-asm-typer.cc

Issue 2212383003: Revert of Separate Scope into DeclarationScope and Scope (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/parsing/rewriter.cc ('k') | test/cctest/compiler/test-loop-assignment-analysis.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/parsing/rewriter.cc ('k') | test/cctest/compiler/test-loop-assignment-analysis.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698