Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index f2cf50f3f1666d834060d2b46429eb652db5a8f9..fd01784f8bc0dfb78ff720387810d45e7bd53d55 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -884,8 +884,8 @@ struct TypedLoweringPhase { |
if (data->info()->is_deoptimization_enabled()) { |
typed_lowering_flags |= JSTypedLowering::kDeoptimizationEnabled; |
} |
- if (data->info()->shared_info()->HasBytecodeArray()) { |
- typed_lowering_flags |= JSTypedLowering::kDisableBinaryOpReduction; |
+ if (data->info()->is_optimizing_from_bytecode()) { |
+ typed_lowering_flags |= JSTypedLowering::kDisableIntegerBinaryOpReduction; |
} |
if (data->info()->is_type_feedback_enabled()) { |
typed_lowering_flags |= JSTypedLowering::kTypeFeedbackEnabled; |