| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index 6066b8b1fb8b93e33f77342c90e5ae2eb2054607..30908a75c7b5bc21d682421d046d6b9c1ae394f8 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -615,9 +615,10 @@ PipelineCompilationJob::Status PipelineCompilationJob::CreateGraphImpl() {
|
| if (!Compiler::EnsureDeoptimizationSupport(info())) return FAILED;
|
| }
|
|
|
| - // TODO(mstarzinger): Hack to ensure that the ToNumber call descriptor is
|
| + // TODO(mstarzinger): Hack to ensure that certain call descriptors are
|
| // initialized on the main thread, since it is needed off-thread by the
|
| // effect control linearizer.
|
| + CodeFactory::CopyFixedArray(info()->isolate());
|
| CodeFactory::ToNumber(info()->isolate());
|
|
|
| linkage_ = new (&zone_) Linkage(Linkage::ComputeIncoming(&zone_, info()));
|
| @@ -1074,7 +1075,8 @@ struct LoadEliminationPhase {
|
| DeadCodeElimination dead_code_elimination(&graph_reducer, data->graph(),
|
| data->common());
|
| RedundancyElimination redundancy_elimination(&graph_reducer, temp_zone);
|
| - LoadElimination load_elimination(&graph_reducer, temp_zone);
|
| + LoadElimination load_elimination(&graph_reducer, data->jsgraph(),
|
| + temp_zone);
|
| ValueNumberingReducer value_numbering(temp_zone, data->graph()->zone());
|
| CommonOperatorReducer common_reducer(&graph_reducer, data->graph(),
|
| data->common(), data->machine());
|
|
|