MIPS: Fix uint32div bug after r25103.
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
This commit is contained in:
parent
b19ecf9753
commit
f3b633cc0c
@ -718,10 +718,7 @@ void InstructionSelector::VisitFloat64LessThanOrEqual(Node* node) {
|
||||
// static
|
||||
MachineOperatorBuilder::Flags
|
||||
InstructionSelector::SupportedMachineOperatorFlags() {
|
||||
return MachineOperatorBuilder::kInt32DivIsSafe |
|
||||
MachineOperatorBuilder::kInt32ModIsSafe |
|
||||
MachineOperatorBuilder::kUint32DivIsSafe |
|
||||
MachineOperatorBuilder::kUint32ModIsSafe;
|
||||
return MachineOperatorBuilder::kNoFlags;
|
||||
}
|
||||
|
||||
} // namespace compiler
|
||||
|
Loading…
Reference in New Issue
Block a user