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

Side by Side Diff: src/crankshaft/hydrogen.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/compiler/ast-loop-assignment-analyzer.cc ('k') | src/crankshaft/typing.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/crankshaft/hydrogen.h" 5 #include "src/crankshaft/hydrogen.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "src/allocation-site-scopes.h" 10 #include "src/allocation-site-scopes.h"
(...skipping 11483 matching lines...) Expand 10 before | Expand all | Expand 10 after
11494 11494
11495 11495
11496 void HOptimizedGraphBuilder::VisitEmptyParentheses(EmptyParentheses* expr) { 11496 void HOptimizedGraphBuilder::VisitEmptyParentheses(EmptyParentheses* expr) {
11497 UNREACHABLE(); 11497 UNREACHABLE();
11498 } 11498 }
11499 11499
11500 void HOptimizedGraphBuilder::VisitGetIterator(GetIterator* expr) { 11500 void HOptimizedGraphBuilder::VisitGetIterator(GetIterator* expr) {
11501 UNREACHABLE(); 11501 UNREACHABLE();
11502 } 11502 }
11503 11503
11504 void HOptimizedGraphBuilder::VisitInternalVariable(InternalVariable* expr) {
11505 UNREACHABLE();
11506 }
11507
11504 HValue* HOptimizedGraphBuilder::AddThisFunction() { 11508 HValue* HOptimizedGraphBuilder::AddThisFunction() {
11505 return AddInstruction(BuildThisFunction()); 11509 return AddInstruction(BuildThisFunction());
11506 } 11510 }
11507 11511
11508 11512
11509 HInstruction* HOptimizedGraphBuilder::BuildThisFunction() { 11513 HInstruction* HOptimizedGraphBuilder::BuildThisFunction() {
11510 // If we share optimized code between different closures, the 11514 // If we share optimized code between different closures, the
11511 // this-function is not a constant, except inside an inlined body. 11515 // this-function is not a constant, except inside an inlined body.
11512 if (function_state()->outer() != NULL) { 11516 if (function_state()->outer() != NULL) {
11513 return New<HConstant>( 11517 return New<HConstant>(
(...skipping 1508 matching lines...) Expand 10 before | Expand all | Expand 10 after
13022 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 13026 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
13023 } 13027 }
13024 13028
13025 #ifdef DEBUG 13029 #ifdef DEBUG
13026 graph_->Verify(false); // No full verify. 13030 graph_->Verify(false); // No full verify.
13027 #endif 13031 #endif
13028 } 13032 }
13029 13033
13030 } // namespace internal 13034 } // namespace internal
13031 } // namespace v8 13035 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ast-loop-assignment-analyzer.cc ('k') | src/crankshaft/typing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698