OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 V(Allocate) \ | 53 V(Allocate) \ |
54 V(ApplyArguments) \ | 54 V(ApplyArguments) \ |
55 V(ArgumentsElements) \ | 55 V(ArgumentsElements) \ |
56 V(ArgumentsLength) \ | 56 V(ArgumentsLength) \ |
57 V(ArithmeticD) \ | 57 V(ArithmeticD) \ |
58 V(ArithmeticT) \ | 58 V(ArithmeticT) \ |
59 V(BitI) \ | 59 V(BitI) \ |
60 V(BitNotI) \ | 60 V(BitNotI) \ |
61 V(BoundsCheck) \ | 61 V(BoundsCheck) \ |
62 V(Branch) \ | 62 V(Branch) \ |
| 63 V(Break) \ |
63 V(CallConstantFunction) \ | 64 V(CallConstantFunction) \ |
64 V(CallFunction) \ | 65 V(CallFunction) \ |
65 V(CallGlobal) \ | 66 V(CallGlobal) \ |
66 V(CallKeyed) \ | 67 V(CallKeyed) \ |
67 V(CallKnownGlobal) \ | 68 V(CallKnownGlobal) \ |
68 V(CallNamed) \ | 69 V(CallNamed) \ |
69 V(CallNew) \ | 70 V(CallNew) \ |
70 V(CallNewArray) \ | 71 V(CallNewArray) \ |
71 V(CallRuntime) \ | 72 V(CallRuntime) \ |
72 V(CallStub) \ | 73 V(CallStub) \ |
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 } | 649 } |
649 | 650 |
650 LOperand* addend() { return inputs_[0]; } | 651 LOperand* addend() { return inputs_[0]; } |
651 LOperand* multiplier() { return inputs_[1]; } | 652 LOperand* multiplier() { return inputs_[1]; } |
652 LOperand* multiplicand() { return inputs_[2]; } | 653 LOperand* multiplicand() { return inputs_[2]; } |
653 | 654 |
654 DECLARE_CONCRETE_INSTRUCTION(MultiplyAddD, "multiply-add-d") | 655 DECLARE_CONCRETE_INSTRUCTION(MultiplyAddD, "multiply-add-d") |
655 }; | 656 }; |
656 | 657 |
657 | 658 |
| 659 class LBreak: public LTemplateInstruction<0, 0, 0> { |
| 660 public: |
| 661 DECLARE_CONCRETE_INSTRUCTION(Break, "break") |
| 662 }; |
| 663 |
| 664 |
658 class LCmpIDAndBranch: public LControlInstruction<2, 0> { | 665 class LCmpIDAndBranch: public LControlInstruction<2, 0> { |
659 public: | 666 public: |
660 LCmpIDAndBranch(LOperand* left, LOperand* right) { | 667 LCmpIDAndBranch(LOperand* left, LOperand* right) { |
661 inputs_[0] = left; | 668 inputs_[0] = left; |
662 inputs_[1] = right; | 669 inputs_[1] = right; |
663 } | 670 } |
664 | 671 |
665 LOperand* left() { return inputs_[0]; } | 672 LOperand* left() { return inputs_[0]; } |
666 LOperand* right() { return inputs_[1]; } | 673 LOperand* right() { return inputs_[1]; } |
667 | 674 |
(...skipping 2081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2749 | 2756 |
2750 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2757 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2751 }; | 2758 }; |
2752 | 2759 |
2753 #undef DECLARE_HYDROGEN_ACCESSOR | 2760 #undef DECLARE_HYDROGEN_ACCESSOR |
2754 #undef DECLARE_CONCRETE_INSTRUCTION | 2761 #undef DECLARE_CONCRETE_INSTRUCTION |
2755 | 2762 |
2756 } } // namespace v8::internal | 2763 } } // namespace v8::internal |
2757 | 2764 |
2758 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2765 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |