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

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

Issue 2654423004: [async-functions] support await expressions in finally statements (Closed)
Patch Set: I'd like to build with -Wunused-variables locally, but how!? Created 3 years, 10 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/bailout-reason.h ('k') | src/compiler/ast-loop-assignment-analyzer.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 #include "src/compiler/ast-graph-builder.h" 5 #include "src/compiler/ast-graph-builder.h"
6 6
7 #include "src/ast/compile-time-value.h" 7 #include "src/ast/compile-time-value.h"
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/compilation-info.h" 9 #include "src/compilation-info.h"
10 #include "src/compiler.h" 10 #include "src/compiler.h"
(...skipping 2166 matching lines...) Expand 10 before | Expand all | Expand 10 after
2177 void AstGraphBuilder::VisitEmptyParentheses(EmptyParentheses* expr) { 2177 void AstGraphBuilder::VisitEmptyParentheses(EmptyParentheses* expr) {
2178 // Handled entirely by the parser itself. 2178 // Handled entirely by the parser itself.
2179 UNREACHABLE(); 2179 UNREACHABLE();
2180 } 2180 }
2181 2181
2182 void AstGraphBuilder::VisitGetIterator(GetIterator* expr) { 2182 void AstGraphBuilder::VisitGetIterator(GetIterator* expr) {
2183 // GetIterator is supported only by going through Ignition first. 2183 // GetIterator is supported only by going through Ignition first.
2184 UNREACHABLE(); 2184 UNREACHABLE();
2185 } 2185 }
2186 2186
2187 void AstGraphBuilder::VisitInternalVariable(InternalVariable* expr) {
2188 // InternalVariable is supported only by going through Ignition first.
2189 UNREACHABLE();
2190 }
2191
2187 void AstGraphBuilder::VisitThisFunction(ThisFunction* expr) { 2192 void AstGraphBuilder::VisitThisFunction(ThisFunction* expr) {
2188 Node* value = GetFunctionClosure(); 2193 Node* value = GetFunctionClosure();
2189 ast_context()->ProduceValue(expr, value); 2194 ast_context()->ProduceValue(expr, value);
2190 } 2195 }
2191 2196
2192 2197
2193 void AstGraphBuilder::VisitSuperPropertyReference( 2198 void AstGraphBuilder::VisitSuperPropertyReference(
2194 SuperPropertyReference* expr) { 2199 SuperPropertyReference* expr) {
2195 UNREACHABLE(); 2200 UNREACHABLE();
2196 } 2201 }
(...skipping 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after
3310 float invocation_frequency, LoopAssignmentAnalysis* loop_assignment, 3315 float invocation_frequency, LoopAssignmentAnalysis* loop_assignment,
3311 SourcePositionTable* source_positions, int inlining_id) 3316 SourcePositionTable* source_positions, int inlining_id)
3312 : AstGraphBuilder(local_zone, info, jsgraph, invocation_frequency, 3317 : AstGraphBuilder(local_zone, info, jsgraph, invocation_frequency,
3313 loop_assignment), 3318 loop_assignment),
3314 source_positions_(source_positions), 3319 source_positions_(source_positions),
3315 start_position_(info->shared_info()->start_position(), inlining_id) {} 3320 start_position_(info->shared_info()->start_position(), inlining_id) {}
3316 3321
3317 } // namespace compiler 3322 } // namespace compiler
3318 } // namespace internal 3323 } // namespace internal
3319 } // namespace v8 3324 } // namespace v8
OLDNEW
« no previous file with comments | « src/bailout-reason.h ('k') | src/compiler/ast-loop-assignment-analyzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698