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

Side by Side Diff: src/hydrogen.cc

Issue 1413933005: [turbofan] Fix bailout for script context creation. (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 | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/utils.h » ('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/allocation-site-scopes.h" 9 #include "src/allocation-site-scopes.h"
10 #include "src/ast-numbering.h" 10 #include "src/ast-numbering.h"
(...skipping 3676 matching lines...) Expand 10 before | Expand all | Expand 10 after
3687 start_environment_ = 3687 start_environment_ =
3688 new (zone_) HEnvironment(zone_, descriptor.GetRegisterParameterCount()); 3688 new (zone_) HEnvironment(zone_, descriptor.GetRegisterParameterCount());
3689 } else { 3689 } else {
3690 if (info->is_tracking_positions()) { 3690 if (info->is_tracking_positions()) {
3691 info->TraceInlinedFunction(info->shared_info(), SourcePosition::Unknown(), 3691 info->TraceInlinedFunction(info->shared_info(), SourcePosition::Unknown(),
3692 InlinedFunctionInfo::kNoParentId); 3692 InlinedFunctionInfo::kNoParentId);
3693 } 3693 }
3694 start_environment_ = 3694 start_environment_ =
3695 new(zone_) HEnvironment(NULL, info->scope(), info->closure(), zone_); 3695 new(zone_) HEnvironment(NULL, info->scope(), info->closure(), zone_);
3696 } 3696 }
3697 start_environment_->set_ast_id(BailoutId::Prologue()); 3697 start_environment_->set_ast_id(BailoutId::FunctionContext());
3698 entry_block_ = CreateBasicBlock(); 3698 entry_block_ = CreateBasicBlock();
3699 entry_block_->SetInitialEnvironment(start_environment_); 3699 entry_block_->SetInitialEnvironment(start_environment_);
3700 } 3700 }
3701 3701
3702 3702
3703 HBasicBlock* HGraph::CreateBasicBlock() { 3703 HBasicBlock* HGraph::CreateBasicBlock() {
3704 HBasicBlock* result = new(zone()) HBasicBlock(this); 3704 HBasicBlock* result = new(zone()) HBasicBlock(this);
3705 blocks_.Add(result, zone()); 3705 blocks_.Add(result, zone());
3706 return result; 3706 return result;
3707 } 3707 }
(...skipping 9983 matching lines...) Expand 10 before | Expand all | Expand 10 after
13691 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 13691 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
13692 } 13692 }
13693 13693
13694 #ifdef DEBUG 13694 #ifdef DEBUG
13695 graph_->Verify(false); // No full verify. 13695 graph_->Verify(false); // No full verify.
13696 #endif 13696 #endif
13697 } 13697 }
13698 13698
13699 } // namespace internal 13699 } // namespace internal
13700 } // namespace v8 13700 } // namespace v8
OLDNEW
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698