Index: src/compiler/ia32/instruction-selector-ia32.cc |
diff --git a/src/compiler/ia32/instruction-selector-ia32.cc b/src/compiler/ia32/instruction-selector-ia32.cc |
index 56af208bf437e7c73252729523fb998723674687..8a352e29972ce8d14c557641692c37785c4ea506 100644 |
--- a/src/compiler/ia32/instruction-selector-ia32.cc |
+++ b/src/compiler/ia32/instruction-selector-ia32.cc |
@@ -1071,13 +1071,14 @@ void InstructionSelector::VisitFloat64LessThanOrEqual(Node* node) { |
// static |
MachineOperatorBuilder::Flags |
InstructionSelector::SupportedMachineOperatorFlags() { |
+ MachineOperatorBuilder::Flags flags = |
+ MachineOperatorBuilder::kWord32ShiftIsSafe; |
if (CpuFeatures::IsSupported(SSE4_1)) { |
- return MachineOperatorBuilder::kFloat64Floor | |
- MachineOperatorBuilder::kFloat64Ceil | |
- MachineOperatorBuilder::kFloat64RoundTruncate | |
- MachineOperatorBuilder::kWord32ShiftIsSafe; |
+ flags |= MachineOperatorBuilder::kFloat64Floor | |
+ MachineOperatorBuilder::kFloat64Ceil | |
+ MachineOperatorBuilder::kFloat64RoundTruncate; |
} |
- return MachineOperatorBuilder::Flag::kNoFlags; |
+ return flags; |
} |
} // namespace compiler |