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

Side by Side Diff: src/full-codegen/full-codegen.cc

Issue 2081733004: Rip out most of our outdated modules implementation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 5 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/full-codegen/full-codegen.h ('k') | src/full-codegen/ia32/full-codegen-ia32.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 "src/full-codegen/full-codegen.h" 5 #include "src/full-codegen/full-codegen.h"
6 6
7 #include "src/ast/ast-numbering.h" 7 #include "src/ast/ast-numbering.h"
8 #include "src/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/ast/prettyprinter.h" 9 #include "src/ast/prettyprinter.h"
10 #include "src/ast/scopeinfo.h" 10 #include "src/ast/scopeinfo.h"
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 } 423 }
424 424
425 case VariableLocation::PARAMETER: 425 case VariableLocation::PARAMETER:
426 case VariableLocation::LOCAL: 426 case VariableLocation::LOCAL:
427 case VariableLocation::LOOKUP: 427 case VariableLocation::LOOKUP:
428 UNREACHABLE(); 428 UNREACHABLE();
429 } 429 }
430 } 430 }
431 431
432 432
433 void FullCodeGenerator::VisitExportDeclaration(ExportDeclaration* declaration) {
434 // TODO(rossberg)
435 }
436
437
438 void FullCodeGenerator::VisitVariableProxy(VariableProxy* expr) { 433 void FullCodeGenerator::VisitVariableProxy(VariableProxy* expr) {
439 Comment cmnt(masm_, "[ VariableProxy"); 434 Comment cmnt(masm_, "[ VariableProxy");
440 EmitVariableLoad(expr); 435 EmitVariableLoad(expr);
441 } 436 }
442 437
443 438
444 void FullCodeGenerator::VisitSloppyBlockFunctionStatement( 439 void FullCodeGenerator::VisitSloppyBlockFunctionStatement(
445 SloppyBlockFunctionStatement* declaration) { 440 SloppyBlockFunctionStatement* declaration) {
446 Visit(declaration->statement()); 441 Visit(declaration->statement());
447 } 442 }
(...skipping 1538 matching lines...) Expand 10 before | Expand all | Expand 10 after
1986 return var->scope()->is_nonlinear() || 1981 return var->scope()->is_nonlinear() ||
1987 var->initializer_position() >= proxy->position(); 1982 var->initializer_position() >= proxy->position();
1988 } 1983 }
1989 1984
1990 1985
1991 #undef __ 1986 #undef __
1992 1987
1993 1988
1994 } // namespace internal 1989 } // namespace internal
1995 } // namespace v8 1990 } // namespace v8
OLDNEW
« no previous file with comments | « src/full-codegen/full-codegen.h ('k') | src/full-codegen/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698