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 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
589 case IrOpcode::kFloat64Add: | 589 case IrOpcode::kFloat64Add: |
590 return MarkAsDouble(node), VisitFloat64Add(node); | 590 return MarkAsDouble(node), VisitFloat64Add(node); |
591 case IrOpcode::kFloat64Sub: | 591 case IrOpcode::kFloat64Sub: |
592 return MarkAsDouble(node), VisitFloat64Sub(node); | 592 return MarkAsDouble(node), VisitFloat64Sub(node); |
593 case IrOpcode::kFloat64Mul: | 593 case IrOpcode::kFloat64Mul: |
594 return MarkAsDouble(node), VisitFloat64Mul(node); | 594 return MarkAsDouble(node), VisitFloat64Mul(node); |
595 case IrOpcode::kFloat64Div: | 595 case IrOpcode::kFloat64Div: |
596 return MarkAsDouble(node), VisitFloat64Div(node); | 596 return MarkAsDouble(node), VisitFloat64Div(node); |
597 case IrOpcode::kFloat64Mod: | 597 case IrOpcode::kFloat64Mod: |
598 return MarkAsDouble(node), VisitFloat64Mod(node); | 598 return MarkAsDouble(node), VisitFloat64Mod(node); |
| 599 case IrOpcode::kFloat64Sqrt: |
| 600 return MarkAsDouble(node), VisitFloat64Sqrt(node); |
599 case IrOpcode::kFloat64Equal: | 601 case IrOpcode::kFloat64Equal: |
600 return VisitFloat64Equal(node); | 602 return VisitFloat64Equal(node); |
601 case IrOpcode::kFloat64LessThan: | 603 case IrOpcode::kFloat64LessThan: |
602 return VisitFloat64LessThan(node); | 604 return VisitFloat64LessThan(node); |
603 case IrOpcode::kFloat64LessThanOrEqual: | 605 case IrOpcode::kFloat64LessThanOrEqual: |
604 return VisitFloat64LessThanOrEqual(node); | 606 return VisitFloat64LessThanOrEqual(node); |
605 default: | 607 default: |
606 V8_Fatal(__FILE__, __LINE__, "Unexpected operator #%d:%s @ node #%d", | 608 V8_Fatal(__FILE__, __LINE__, "Unexpected operator #%d:%s @ node #%d", |
607 node->opcode(), node->op()->mnemonic(), node->id()); | 609 node->opcode(), node->op()->mnemonic(), node->id()); |
608 } | 610 } |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1090 | 1092 |
1091 | 1093 |
1092 void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation, | 1094 void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation, |
1093 BasicBlock* deoptimization) {} | 1095 BasicBlock* deoptimization) {} |
1094 | 1096 |
1095 #endif // !V8_TURBOFAN_BACKEND | 1097 #endif // !V8_TURBOFAN_BACKEND |
1096 | 1098 |
1097 } // namespace compiler | 1099 } // namespace compiler |
1098 } // namespace internal | 1100 } // namespace internal |
1099 } // namespace v8 | 1101 } // namespace v8 |
OLD | NEW |