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

Side by Side Diff: src/crankshaft/hydrogen.cc

Issue 2557593004: [ignition] desugar GetIterator() via bytecode rather than via AST (Closed)
Patch Set: georg's comments Created 4 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/compiler/bytecode-graph-builder.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 11471 matching lines...) Expand 10 before | Expand all | Expand 10 after
11482 } 11482 }
11483 11483
11484 11484
11485 void HOptimizedGraphBuilder::VisitSpread(Spread* expr) { UNREACHABLE(); } 11485 void HOptimizedGraphBuilder::VisitSpread(Spread* expr) { UNREACHABLE(); }
11486 11486
11487 11487
11488 void HOptimizedGraphBuilder::VisitEmptyParentheses(EmptyParentheses* expr) { 11488 void HOptimizedGraphBuilder::VisitEmptyParentheses(EmptyParentheses* expr) {
11489 UNREACHABLE(); 11489 UNREACHABLE();
11490 } 11490 }
11491 11491
11492 void HOptimizedGraphBuilder::VisitGetIterator(GetIterator* expr) {
11493 UNREACHABLE();
11494 }
11492 11495
11493 HValue* HOptimizedGraphBuilder::AddThisFunction() { 11496 HValue* HOptimizedGraphBuilder::AddThisFunction() {
11494 return AddInstruction(BuildThisFunction()); 11497 return AddInstruction(BuildThisFunction());
11495 } 11498 }
11496 11499
11497 11500
11498 HInstruction* HOptimizedGraphBuilder::BuildThisFunction() { 11501 HInstruction* HOptimizedGraphBuilder::BuildThisFunction() {
11499 // If we share optimized code between different closures, the 11502 // If we share optimized code between different closures, the
11500 // this-function is not a constant, except inside an inlined body. 11503 // this-function is not a constant, except inside an inlined body.
11501 if (function_state()->outer() != NULL) { 11504 if (function_state()->outer() != NULL) {
(...skipping 1524 matching lines...) Expand 10 before | Expand all | Expand 10 after
13026 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 13029 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
13027 } 13030 }
13028 13031
13029 #ifdef DEBUG 13032 #ifdef DEBUG
13030 graph_->Verify(false); // No full verify. 13033 graph_->Verify(false); // No full verify.
13031 #endif 13034 #endif
13032 } 13035 }
13033 13036
13034 } // namespace internal 13037 } // namespace internal
13035 } // namespace v8 13038 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/crankshaft/typing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698