| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 V(ClassOfTestAndBranch) \ | 82 V(ClassOfTestAndBranch) \ |
| 83 V(CmpConstantEqAndBranch) \ | 83 V(CmpConstantEqAndBranch) \ |
| 84 V(CmpIDAndBranch) \ | 84 V(CmpIDAndBranch) \ |
| 85 V(CmpObjectEqAndBranch) \ | 85 V(CmpObjectEqAndBranch) \ |
| 86 V(CmpMapAndBranch) \ | 86 V(CmpMapAndBranch) \ |
| 87 V(CmpT) \ | 87 V(CmpT) \ |
| 88 V(ConstantD) \ | 88 V(ConstantD) \ |
| 89 V(ConstantI) \ | 89 V(ConstantI) \ |
| 90 V(ConstantT) \ | 90 V(ConstantT) \ |
| 91 V(Context) \ | 91 V(Context) \ |
| 92 V(DebugBreak) \ |
| 92 V(DeclareGlobals) \ | 93 V(DeclareGlobals) \ |
| 93 V(DeleteProperty) \ | 94 V(DeleteProperty) \ |
| 94 V(Deoptimize) \ | 95 V(Deoptimize) \ |
| 95 V(DivI) \ | 96 V(DivI) \ |
| 96 V(DoubleToI) \ | 97 V(DoubleToI) \ |
| 97 V(DummyUse) \ | 98 V(DummyUse) \ |
| 98 V(ElementsKind) \ | 99 V(ElementsKind) \ |
| 99 V(FixedArrayBaseLength) \ | 100 V(FixedArrayBaseLength) \ |
| 100 V(FunctionLiteral) \ | 101 V(FunctionLiteral) \ |
| 101 V(GetCachedArrayIndex) \ | 102 V(GetCachedArrayIndex) \ |
| (...skipping 546 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 LDebugBreak: public LTemplateInstruction<0, 0, 0> { |
| 660 public: |
| 661 DECLARE_CONCRETE_INSTRUCTION(DebugBreak, "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 |