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

Side by Side Diff: src/compiler/ast-graph-builder.h

Issue 749633002: harmony-scoping: make assignment to 'const' a late error. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Comment update Created 6 years 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/arm64/full-codegen-arm64.cc ('k') | src/compiler/ast-graph-builder.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #ifndef V8_COMPILER_AST_GRAPH_BUILDER_H_ 5 #ifndef V8_COMPILER_AST_GRAPH_BUILDER_H_
6 #define V8_COMPILER_AST_GRAPH_BUILDER_H_ 6 #define V8_COMPILER_AST_GRAPH_BUILDER_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/ast.h" 10 #include "src/ast.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 Node* BuildLoadGlobalObject(); 93 Node* BuildLoadGlobalObject();
94 Node* BuildLoadGlobalProxy(); 94 Node* BuildLoadGlobalProxy();
95 Node* BuildLoadClosure(); 95 Node* BuildLoadClosure();
96 Node* BuildLoadObjectField(Node* object, int offset); 96 Node* BuildLoadObjectField(Node* object, int offset);
97 97
98 // Builders for automatic type conversion. 98 // Builders for automatic type conversion.
99 Node* BuildToBoolean(Node* value); 99 Node* BuildToBoolean(Node* value);
100 100
101 // Builders for error reporting at runtime. 101 // Builders for error reporting at runtime.
102 Node* BuildThrowReferenceError(Variable* var, BailoutId bailout_id); 102 Node* BuildThrowReferenceError(Variable* var, BailoutId bailout_id);
103 Node* BuildThrowConstAssignError(BailoutId bailout_id);
103 104
104 // Builders for dynamic hole-checks at runtime. 105 // Builders for dynamic hole-checks at runtime.
105 Node* BuildHoleCheckSilent(Node* value, Node* for_hole, Node* not_hole); 106 Node* BuildHoleCheckSilent(Node* value, Node* for_hole, Node* not_hole);
106 Node* BuildHoleCheckThrow(Node* value, Variable* var, Node* not_hole, 107 Node* BuildHoleCheckThrow(Node* value, Variable* var, Node* not_hole,
107 BailoutId bailout_id); 108 BailoutId bailout_id);
108 109
109 // Builders for binary operations. 110 // Builders for binary operations.
110 Node* BuildBinaryOp(Node* left, Node* right, Token::Value op); 111 Node* BuildBinaryOp(Node* left, Node* right, Token::Value op);
111 112
112 // Builder for stack-check guards. 113 // Builder for stack-check guards.
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 441
441 Scope* AstGraphBuilder::current_scope() const { 442 Scope* AstGraphBuilder::current_scope() const {
442 return execution_context_->scope(); 443 return execution_context_->scope();
443 } 444 }
444 445
445 } // namespace compiler 446 } // namespace compiler
446 } // namespace internal 447 } // namespace internal
447 } // namespace v8 448 } // namespace v8
448 449
449 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 450 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « src/arm64/full-codegen-arm64.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698