| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index 6eaff2edebba2189a07497a0df8c8f602aa31705..86b5ae5fa5ddea2a7f581ee771d4c7da854b54f4 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -1097,7 +1097,11 @@ Handle<Code> Pipeline::GenerateCode() {
|
| base::SmartPointer<Typer> typer;
|
| if (info()->is_typing_enabled()) {
|
| // Type the graph.
|
| - typer.Reset(new Typer(isolate(), data.graph(), info()->function_type()));
|
| + typer.Reset(new Typer(isolate(), data.graph(),
|
| + info()->is_deoptimization_enabled()
|
| + ? Typer::kDeoptimizationEnabled
|
| + : Typer::kNoFlags,
|
| + info()->dependencies(), info()->function_type()));
|
| Run<TyperPhase>(typer.get());
|
| RunPrintAndVerify("Typed");
|
| }
|
|
|