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

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

Issue 2703563002: [ESNext] Implement DynamicImportCall (Closed)
Patch Set: rebase Created 3 years, 8 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/counters.h ('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 11222 matching lines...) Expand 10 before | Expand all | Expand 10 after
11233 11233
11234 11234
11235 void HOptimizedGraphBuilder::VisitEmptyParentheses(EmptyParentheses* expr) { 11235 void HOptimizedGraphBuilder::VisitEmptyParentheses(EmptyParentheses* expr) {
11236 UNREACHABLE(); 11236 UNREACHABLE();
11237 } 11237 }
11238 11238
11239 void HOptimizedGraphBuilder::VisitGetIterator(GetIterator* expr) { 11239 void HOptimizedGraphBuilder::VisitGetIterator(GetIterator* expr) {
11240 UNREACHABLE(); 11240 UNREACHABLE();
11241 } 11241 }
11242 11242
11243 void HOptimizedGraphBuilder::VisitImportCallExpression(
11244 ImportCallExpression* expr) {
11245 UNREACHABLE();
11246 }
11247
11243 HValue* HOptimizedGraphBuilder::AddThisFunction() { 11248 HValue* HOptimizedGraphBuilder::AddThisFunction() {
11244 return AddInstruction(BuildThisFunction()); 11249 return AddInstruction(BuildThisFunction());
11245 } 11250 }
11246 11251
11247 11252
11248 HInstruction* HOptimizedGraphBuilder::BuildThisFunction() { 11253 HInstruction* HOptimizedGraphBuilder::BuildThisFunction() {
11249 // If we share optimized code between different closures, the 11254 // If we share optimized code between different closures, the
11250 // this-function is not a constant, except inside an inlined body. 11255 // this-function is not a constant, except inside an inlined body.
11251 if (function_state()->outer() != NULL) { 11256 if (function_state()->outer() != NULL) {
11252 return New<HConstant>( 11257 return New<HConstant>(
(...skipping 1482 matching lines...) Expand 10 before | Expand all | Expand 10 after
12735 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 12740 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
12736 } 12741 }
12737 12742
12738 #ifdef DEBUG 12743 #ifdef DEBUG
12739 graph_->Verify(false); // No full verify. 12744 graph_->Verify(false); // No full verify.
12740 #endif 12745 #endif
12741 } 12746 }
12742 12747
12743 } // namespace internal 12748 } // namespace internal
12744 } // namespace v8 12749 } // namespace v8
OLDNEW
« no previous file with comments | « src/counters.h ('k') | src/crankshaft/typing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698