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

Side by Side Diff: src/hydrogen.cc

Issue 1161243005: Revert of [es6] Super call in arrows and eval (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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/full-codegen.cc ('k') | src/ia32/full-codegen-ia32.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/hydrogen.h" 5 #include "src/hydrogen.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/v8.h" 9 #include "src/v8.h"
10 10
(...skipping 11540 matching lines...) Expand 10 before | Expand all | Expand 10 after
11551 11551
11552 void HOptimizedGraphBuilder::VisitThisFunction(ThisFunction* expr) { 11552 void HOptimizedGraphBuilder::VisitThisFunction(ThisFunction* expr) {
11553 DCHECK(!HasStackOverflow()); 11553 DCHECK(!HasStackOverflow());
11554 DCHECK(current_block() != NULL); 11554 DCHECK(current_block() != NULL);
11555 DCHECK(current_block()->HasPredecessor()); 11555 DCHECK(current_block()->HasPredecessor());
11556 HInstruction* instr = BuildThisFunction(); 11556 HInstruction* instr = BuildThisFunction();
11557 return ast_context()->ReturnInstruction(instr, expr->id()); 11557 return ast_context()->ReturnInstruction(instr, expr->id());
11558 } 11558 }
11559 11559
11560 11560
11561 void HOptimizedGraphBuilder::VisitSuperPropertyReference( 11561 void HOptimizedGraphBuilder::VisitSuperReference(SuperReference* expr) {
11562 SuperPropertyReference* expr) {
11563 DCHECK(!HasStackOverflow()); 11562 DCHECK(!HasStackOverflow());
11564 DCHECK(current_block() != NULL); 11563 DCHECK(current_block() != NULL);
11565 DCHECK(current_block()->HasPredecessor()); 11564 DCHECK(current_block()->HasPredecessor());
11566 return Bailout(kSuperReference);
11567 }
11568
11569
11570 void HOptimizedGraphBuilder::VisitSuperCallReference(SuperCallReference* expr) {
11571 DCHECK(!HasStackOverflow());
11572 DCHECK(current_block() != NULL);
11573 DCHECK(current_block()->HasPredecessor());
11574 return Bailout(kSuperReference); 11565 return Bailout(kSuperReference);
11575 } 11566 }
11576 11567
11577 11568
11578 void HOptimizedGraphBuilder::VisitDeclarations( 11569 void HOptimizedGraphBuilder::VisitDeclarations(
11579 ZoneList<Declaration*>* declarations) { 11570 ZoneList<Declaration*>* declarations) {
11580 DCHECK(globals_.is_empty()); 11571 DCHECK(globals_.is_empty());
11581 AstVisitor::VisitDeclarations(declarations); 11572 AstVisitor::VisitDeclarations(declarations);
11582 if (!globals_.is_empty()) { 11573 if (!globals_.is_empty()) {
11583 Handle<FixedArray> array = 11574 Handle<FixedArray> array =
(...skipping 1562 matching lines...) Expand 10 before | Expand all | Expand 10 after
13146 if (ShouldProduceTraceOutput()) { 13137 if (ShouldProduceTraceOutput()) {
13147 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 13138 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
13148 } 13139 }
13149 13140
13150 #ifdef DEBUG 13141 #ifdef DEBUG
13151 graph_->Verify(false); // No full verify. 13142 graph_->Verify(false); // No full verify.
13152 #endif 13143 #endif
13153 } 13144 }
13154 13145
13155 } } // namespace v8::internal 13146 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/full-codegen.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698