[turbofan] Remove remnants from JavaScript stubs support.

This removes some leftover code which avoided adding stack checks to
stubs being compiled via the normal JavaScript pipeline, which we no
longer do.

R=bmeurer@chromium.org

Review-Url: https://codereview.chromium.org/2333973003
Cr-Commit-Position: refs/heads/master@{#39404}
This commit is contained in:
mstarzinger 2016-09-14 01:19:39 -07:00 committed by Commit bot
parent 6b3cd5804d
commit 4e44264148

View File

@ -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) {