| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/base/bits.h" | 5 #include "src/base/bits.h" |
| 6 #include "src/compiler/instruction-selector-impl.h" | 6 #include "src/compiler/instruction-selector-impl.h" |
| 7 #include "src/compiler/node-matchers.h" | 7 #include "src/compiler/node-matchers.h" |
| 8 | 8 |
| 9 namespace v8 { | 9 namespace v8 { |
| 10 namespace internal { | 10 namespace internal { |
| (...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 | 644 |
| 645 void InstructionSelector::VisitFloat64LessThanOrEqual(Node* node) { | 645 void InstructionSelector::VisitFloat64LessThanOrEqual(Node* node) { |
| 646 FlagsContinuation cont(kUnorderedLessThanOrEqual, node); | 646 FlagsContinuation cont(kUnorderedLessThanOrEqual, node); |
| 647 VisitFloat64Compare(this, node, &cont); | 647 VisitFloat64Compare(this, node, &cont); |
| 648 } | 648 } |
| 649 | 649 |
| 650 | 650 |
| 651 // static | 651 // static |
| 652 MachineOperatorBuilder::Flags | 652 MachineOperatorBuilder::Flags |
| 653 InstructionSelector::SupportedMachineOperatorFlags() { | 653 InstructionSelector::SupportedMachineOperatorFlags() { |
| 654 return MachineOperatorBuilder::Flag::kNoFlags; | 654 return MachineOperatorBuilder::kInt32DivIsSafe | |
| 655 MachineOperatorBuilder::kInt32ModIsSafe | |
| 656 MachineOperatorBuilder::kUint32DivIsSafe | |
| 657 MachineOperatorBuilder::kUint32ModIsSafe; |
| 655 } | 658 } |
| 659 |
| 656 } // namespace compiler | 660 } // namespace compiler |
| 657 } // namespace internal | 661 } // namespace internal |
| 658 } // namespace v8 | 662 } // namespace v8 |
| OLD | NEW |