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 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
544 case IrOpcode::kInt64UMod: | 544 case IrOpcode::kInt64UMod: |
545 return VisitInt64UMod(node); | 545 return VisitInt64UMod(node); |
546 case IrOpcode::kInt64LessThan: | 546 case IrOpcode::kInt64LessThan: |
547 return VisitInt64LessThan(node); | 547 return VisitInt64LessThan(node); |
548 case IrOpcode::kInt64LessThanOrEqual: | 548 case IrOpcode::kInt64LessThanOrEqual: |
549 return VisitInt64LessThanOrEqual(node); | 549 return VisitInt64LessThanOrEqual(node); |
550 case IrOpcode::kConvertInt32ToInt64: | 550 case IrOpcode::kConvertInt32ToInt64: |
551 return VisitConvertInt32ToInt64(node); | 551 return VisitConvertInt32ToInt64(node); |
552 case IrOpcode::kConvertInt64ToInt32: | 552 case IrOpcode::kConvertInt64ToInt32: |
553 return VisitConvertInt64ToInt32(node); | 553 return VisitConvertInt64ToInt32(node); |
554 case IrOpcode::kConvertInt32ToFloat64: | 554 case IrOpcode::kChangeInt32ToFloat64: |
555 return MarkAsDouble(node), VisitConvertInt32ToFloat64(node); | 555 return MarkAsDouble(node), VisitChangeInt32ToFloat64(node); |
556 case IrOpcode::kConvertUint32ToFloat64: | 556 case IrOpcode::kChangeUint32ToFloat64: |
557 return MarkAsDouble(node), VisitConvertUint32ToFloat64(node); | 557 return MarkAsDouble(node), VisitChangeUint32ToFloat64(node); |
558 case IrOpcode::kConvertFloat64ToInt32: | 558 case IrOpcode::kChangeFloat64ToInt32: |
559 return VisitConvertFloat64ToInt32(node); | 559 return VisitChangeFloat64ToInt32(node); |
560 case IrOpcode::kConvertFloat64ToUint32: | 560 case IrOpcode::kChangeFloat64ToUint32: |
561 return VisitConvertFloat64ToUint32(node); | 561 return VisitChangeFloat64ToUint32(node); |
562 case IrOpcode::kFloat64Add: | 562 case IrOpcode::kFloat64Add: |
563 return MarkAsDouble(node), VisitFloat64Add(node); | 563 return MarkAsDouble(node), VisitFloat64Add(node); |
564 case IrOpcode::kFloat64Sub: | 564 case IrOpcode::kFloat64Sub: |
565 return MarkAsDouble(node), VisitFloat64Sub(node); | 565 return MarkAsDouble(node), VisitFloat64Sub(node); |
566 case IrOpcode::kFloat64Mul: | 566 case IrOpcode::kFloat64Mul: |
567 return MarkAsDouble(node), VisitFloat64Mul(node); | 567 return MarkAsDouble(node), VisitFloat64Mul(node); |
568 case IrOpcode::kFloat64Div: | 568 case IrOpcode::kFloat64Div: |
569 return MarkAsDouble(node), VisitFloat64Div(node); | 569 return MarkAsDouble(node), VisitFloat64Div(node); |
570 case IrOpcode::kFloat64Mod: | 570 case IrOpcode::kFloat64Mod: |
571 return MarkAsDouble(node), VisitFloat64Mod(node); | 571 return MarkAsDouble(node), VisitFloat64Mod(node); |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 | 909 |
910 | 910 |
911 void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation, | 911 void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation, |
912 BasicBlock* deoptimization) {} | 912 BasicBlock* deoptimization) {} |
913 | 913 |
914 #endif | 914 #endif |
915 | 915 |
916 } // namespace compiler | 916 } // namespace compiler |
917 } // namespace internal | 917 } // namespace internal |
918 } // namespace v8 | 918 } // namespace v8 |
OLD | NEW |