Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 7387b46d2fb504cdff3a6d43ec235a41f450ecf2..2340c6f99ffdd8494fc19bfd286a2df9d3f46ac3 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -561,7 +561,11 @@ struct TypedLoweringPhase { |
LoadElimination load_elimination; |
JSBuiltinReducer builtin_reducer(data->jsgraph()); |
JSTypedLowering typed_lowering(&graph_reducer, data->jsgraph(), temp_zone); |
- JSIntrinsicLowering intrinsic_lowering(&graph_reducer, data->jsgraph()); |
+ JSIntrinsicLowering intrinsic_lowering( |
+ &graph_reducer, data->jsgraph(), |
+ data->info()->is_deoptimization_enabled() |
+ ? JSIntrinsicLowering::kDeoptimizationEnabled |
+ : JSIntrinsicLowering::kDeoptimizationDisabled); |
SimplifiedOperatorReducer simple_reducer(data->jsgraph()); |
CommonOperatorReducer common_reducer(data->jsgraph()); |
AddReducer(data, &graph_reducer, &builtin_reducer); |