Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 7b44d515b57692994266ed51e1ef4c14bdf1ebb8..bfa8e99883bdd0c0fac273db28385745b156d0e2 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -448,9 +448,9 @@ class AstGraphBuilderWithPositions final : public AstGraphBuilder { |
source_positions_(source_positions), |
start_position_(info->shared_info()->start_position()) {} |
- bool CreateGraph(bool stack_check) { |
+ bool CreateGraph() { |
SourcePositionTable::Scope pos_scope(source_positions_, start_position_); |
- return AstGraphBuilder::CreateGraph(stack_check); |
+ return AstGraphBuilder::CreateGraph(); |
} |
#define DEF_VISIT(type) \ |
@@ -764,7 +764,6 @@ struct GraphBuilderPhase { |
static const char* phase_name() { return "graph builder"; } |
void Run(PipelineData* data, Zone* temp_zone) { |
- bool stack_check = !data->info()->IsStub(); |
bool succeeded = false; |
if (data->info()->is_optimizing_from_bytecode()) { |
@@ -775,7 +774,7 @@ struct GraphBuilderPhase { |
AstGraphBuilderWithPositions graph_builder( |
temp_zone, data->info(), data->jsgraph(), data->loop_assignment(), |
data->type_hint_analysis(), data->source_positions()); |
- succeeded = graph_builder.CreateGraph(stack_check); |
+ succeeded = graph_builder.CreateGraph(); |
} |
if (!succeeded) { |