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

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

Issue 1414713004: [es7] bailout Crankshaft in VisitDoExpression (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | test/mjsunit/harmony/regress/regress-546967.js » ('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 <sstream> 7 #include <sstream>
8 8
9 #include "src/allocation-site-scopes.h" 9 #include "src/allocation-site-scopes.h"
10 #include "src/ast-numbering.h" 10 #include "src/ast-numbering.h"
(...skipping 5518 matching lines...) Expand 10 before | Expand all | Expand 10 after
5529 void HOptimizedGraphBuilder::VisitNativeFunctionLiteral( 5529 void HOptimizedGraphBuilder::VisitNativeFunctionLiteral(
5530 NativeFunctionLiteral* expr) { 5530 NativeFunctionLiteral* expr) {
5531 DCHECK(!HasStackOverflow()); 5531 DCHECK(!HasStackOverflow());
5532 DCHECK(current_block() != NULL); 5532 DCHECK(current_block() != NULL);
5533 DCHECK(current_block()->HasPredecessor()); 5533 DCHECK(current_block()->HasPredecessor());
5534 return Bailout(kNativeFunctionLiteral); 5534 return Bailout(kNativeFunctionLiteral);
5535 } 5535 }
5536 5536
5537 5537
5538 void HOptimizedGraphBuilder::VisitDoExpression(DoExpression* expr) { 5538 void HOptimizedGraphBuilder::VisitDoExpression(DoExpression* expr) {
5539 UNREACHABLE(); 5539 DCHECK(!HasStackOverflow());
5540 DCHECK(current_block() != NULL);
5541 DCHECK(current_block()->HasPredecessor());
5542 return Bailout(kDoExpression);
5540 } 5543 }
5541 5544
5542 5545
5543 void HOptimizedGraphBuilder::VisitConditional(Conditional* expr) { 5546 void HOptimizedGraphBuilder::VisitConditional(Conditional* expr) {
5544 DCHECK(!HasStackOverflow()); 5547 DCHECK(!HasStackOverflow());
5545 DCHECK(current_block() != NULL); 5548 DCHECK(current_block() != NULL);
5546 DCHECK(current_block()->HasPredecessor()); 5549 DCHECK(current_block()->HasPredecessor());
5547 HBasicBlock* cond_true = graph()->CreateBasicBlock(); 5550 HBasicBlock* cond_true = graph()->CreateBasicBlock();
5548 HBasicBlock* cond_false = graph()->CreateBasicBlock(); 5551 HBasicBlock* cond_false = graph()->CreateBasicBlock();
5549 CHECK_BAILOUT(VisitForControl(expr->condition(), cond_true, cond_false)); 5552 CHECK_BAILOUT(VisitForControl(expr->condition(), cond_true, cond_false));
(...skipping 8152 matching lines...) Expand 10 before | Expand all | Expand 10 after
13702 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 13705 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
13703 } 13706 }
13704 13707
13705 #ifdef DEBUG 13708 #ifdef DEBUG
13706 graph_->Verify(false); // No full verify. 13709 graph_->Verify(false); // No full verify.
13707 #endif 13710 #endif
13708 } 13711 }
13709 13712
13710 } // namespace internal 13713 } // namespace internal
13711 } // namespace v8 13714 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | test/mjsunit/harmony/regress/regress-546967.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698