Index: src/compiler/mips/instruction-selector-mips.cc |
diff --git a/src/compiler/mips/instruction-selector-mips.cc b/src/compiler/mips/instruction-selector-mips.cc |
index dc1749ad1898eb58234e185f2ebaaee19d00cde3..9be6bb6d66f8d0d1020d8d2b27040255cf345839 100644 |
--- a/src/compiler/mips/instruction-selector-mips.cc |
+++ b/src/compiler/mips/instruction-selector-mips.cc |
@@ -651,8 +651,12 @@ void InstructionSelector::VisitFloat64LessThanOrEqual(Node* node) { |
// static |
MachineOperatorBuilder::Flags |
InstructionSelector::SupportedMachineOperatorFlags() { |
- return MachineOperatorBuilder::Flag::kNoFlags; |
+ return MachineOperatorBuilder::kInt32DivIsSafe | |
+ MachineOperatorBuilder::kInt32ModIsSafe | |
+ MachineOperatorBuilder::kUint32DivIsSafe | |
+ MachineOperatorBuilder::kUint32ModIsSafe; |
} |
+ |
} // namespace compiler |
} // namespace internal |
} // namespace v8 |