| 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/compiler/instruction-selector.h" | 5 #include "src/compiler/instruction-selector.h" |
| 6 | 6 |
| 7 #include "src/compiler/instruction-selector-impl.h" | 7 #include "src/compiler/instruction-selector-impl.h" |
| 8 #include "src/compiler/node-matchers.h" | 8 #include "src/compiler/node-matchers.h" |
| 9 #include "src/compiler/node-properties-inl.h" | 9 #include "src/compiler/node-properties-inl.h" |
| 10 #include "src/compiler/pipeline.h" | 10 #include "src/compiler/pipeline.h" |
| (...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 730 | 730 |
| 731 void InstructionSelector::VisitInt64LessThanOrEqual(Node* node) { | 731 void InstructionSelector::VisitInt64LessThanOrEqual(Node* node) { |
| 732 FlagsContinuation cont(kSignedLessThanOrEqual, node); | 732 FlagsContinuation cont(kSignedLessThanOrEqual, node); |
| 733 VisitWord64Compare(node, &cont); | 733 VisitWord64Compare(node, &cont); |
| 734 } | 734 } |
| 735 | 735 |
| 736 | 736 |
| 737 void InstructionSelector::VisitTruncateFloat64ToInt32(Node* node) { | 737 void InstructionSelector::VisitTruncateFloat64ToInt32(Node* node) { |
| 738 OperandGenerator g(this); | 738 OperandGenerator g(this); |
| 739 Emit(kArchTruncateDoubleToI, g.DefineAsRegister(node), | 739 Emit(kArchTruncateDoubleToI, g.DefineAsRegister(node), |
| 740 g.UseDoubleRegister(node->InputAt(0))); | 740 g.UseRegister(node->InputAt(0))); |
| 741 } | 741 } |
| 742 | 742 |
| 743 | 743 |
| 744 void InstructionSelector::VisitFloat64Equal(Node* node) { | 744 void InstructionSelector::VisitFloat64Equal(Node* node) { |
| 745 FlagsContinuation cont(kUnorderedEqual, node); | 745 FlagsContinuation cont(kUnorderedEqual, node); |
| 746 VisitFloat64Compare(node, &cont); | 746 VisitFloat64Compare(node, &cont); |
| 747 } | 747 } |
| 748 | 748 |
| 749 | 749 |
| 750 void InstructionSelector::VisitFloat64LessThan(Node* node) { | 750 void InstructionSelector::VisitFloat64LessThan(Node* node) { |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1135 | 1135 |
| 1136 | 1136 |
| 1137 void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation, | 1137 void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation, |
| 1138 BasicBlock* deoptimization) {} | 1138 BasicBlock* deoptimization) {} |
| 1139 | 1139 |
| 1140 #endif // !V8_TURBOFAN_BACKEND | 1140 #endif // !V8_TURBOFAN_BACKEND |
| 1141 | 1141 |
| 1142 } // namespace compiler | 1142 } // namespace compiler |
| 1143 } // namespace internal | 1143 } // namespace internal |
| 1144 } // namespace v8 | 1144 } // namespace v8 |
| OLD | NEW |