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

Unified Diff: src/compiler/pipeline.cc

Issue 1010673004: Tweak the TurboFan pipeline for stub compilation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Removed spurious edit Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: src/compiler/pipeline.cc
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
index 1c2e58383cf35262f629779e4803fe99980be435..ba0294ebb301cbd1f134d065fd24aa8b5177a553 100644
--- a/src/compiler/pipeline.cc
+++ b/src/compiler/pipeline.cc
@@ -313,11 +313,12 @@ class AstGraphBuilderWithPositions : public AstGraphBuilder {
SourcePositionTable* source_positions)
: AstGraphBuilder(local_zone, info, jsgraph, loop_assignment),
source_positions_(source_positions),
- start_position_(info->shared_info()->start_position()) {}
+ start_position_(info->shared_info()->start_position()),
+ stack_check_(!info->IsStub()) {}
bool CreateGraph(bool constant_context) {
Michael Starzinger 2015/03/17 17:28:55 nit: Can we add a "bool stack_check" to the Create
Sven Panne 2015/03/18 08:45:55 Done.
SourcePositionTable::Scope pos_scope(source_positions_, start_position_);
- return AstGraphBuilder::CreateGraph(constant_context);
+ return AstGraphBuilder::CreateGraph(constant_context, stack_check_);
}
#define DEF_VISIT(type) \
@@ -332,6 +333,7 @@ class AstGraphBuilderWithPositions : public AstGraphBuilder {
private:
SourcePositionTable* source_positions_;
SourcePosition start_position_;
+ bool stack_check_;
Michael Starzinger 2015/03/17 17:28:55 nit: This field is not required once the above com
Sven Panne 2015/03/18 08:45:55 Done.
};
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/hydrogen.h » ('j') | src/runtime.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698