The div and mod instructions on MIPS are not safe for rhs 0.
TEST=test/mjsunit/asm/uint32div.js
BUG=
R=akos.palfi@imgtec.com
Review URL: https://codereview.chromium.org/
704013002
Cr-Commit-Position: refs/heads/master@{#25174}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25174
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
// static
MachineOperatorBuilder::Flags
InstructionSelector::SupportedMachineOperatorFlags() {
- return MachineOperatorBuilder::kInt32DivIsSafe |
- MachineOperatorBuilder::kInt32ModIsSafe |
- MachineOperatorBuilder::kUint32DivIsSafe |
- MachineOperatorBuilder::kUint32ModIsSafe;
+ return MachineOperatorBuilder::kNoFlags;
}
} // namespace compiler