OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 #ifndef V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ | 5 #ifndef V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ |
6 #define V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ | 6 #define V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ |
7 | 7 |
8 #include "src/crankshaft/hydrogen.h" | 8 #include "src/crankshaft/hydrogen.h" |
9 #include "src/crankshaft/lithium.h" | 9 #include "src/crankshaft/lithium.h" |
10 #include "src/crankshaft/lithium-allocator.h" | 10 #include "src/crankshaft/lithium-allocator.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 V(CheckInstanceType) \ | 42 V(CheckInstanceType) \ |
43 V(CheckMaps) \ | 43 V(CheckMaps) \ |
44 V(CheckMapValue) \ | 44 V(CheckMapValue) \ |
45 V(CheckNonSmi) \ | 45 V(CheckNonSmi) \ |
46 V(CheckSmi) \ | 46 V(CheckSmi) \ |
47 V(CheckValue) \ | 47 V(CheckValue) \ |
48 V(ClampDToUint8) \ | 48 V(ClampDToUint8) \ |
49 V(ClampIToUint8) \ | 49 V(ClampIToUint8) \ |
50 V(ClampTToUint8) \ | 50 V(ClampTToUint8) \ |
51 V(ClassOfTestAndBranch) \ | 51 V(ClassOfTestAndBranch) \ |
52 V(CompareMinusZeroAndBranch) \ | |
53 V(CompareNumericAndBranch) \ | 52 V(CompareNumericAndBranch) \ |
54 V(CmpObjectEqAndBranch) \ | 53 V(CmpObjectEqAndBranch) \ |
55 V(CmpHoleAndBranch) \ | 54 V(CmpHoleAndBranch) \ |
56 V(CmpMapAndBranch) \ | 55 V(CmpMapAndBranch) \ |
57 V(CmpT) \ | 56 V(CmpT) \ |
58 V(ConstantD) \ | 57 V(ConstantD) \ |
59 V(ConstantE) \ | 58 V(ConstantE) \ |
60 V(ConstantI) \ | 59 V(ConstantI) \ |
61 V(ConstantS) \ | 60 V(ConstantS) \ |
62 V(ConstantT) \ | 61 V(ConstantT) \ |
(...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
980 inputs_[0] = object; | 979 inputs_[0] = object; |
981 } | 980 } |
982 | 981 |
983 LOperand* object() { return inputs_[0]; } | 982 LOperand* object() { return inputs_[0]; } |
984 | 983 |
985 DECLARE_CONCRETE_INSTRUCTION(CmpHoleAndBranch, "cmp-hole-and-branch") | 984 DECLARE_CONCRETE_INSTRUCTION(CmpHoleAndBranch, "cmp-hole-and-branch") |
986 DECLARE_HYDROGEN_ACCESSOR(CompareHoleAndBranch) | 985 DECLARE_HYDROGEN_ACCESSOR(CompareHoleAndBranch) |
987 }; | 986 }; |
988 | 987 |
989 | 988 |
990 class LCompareMinusZeroAndBranch final : public LControlInstruction<1, 1> { | |
991 public: | |
992 LCompareMinusZeroAndBranch(LOperand* value, LOperand* temp) { | |
993 inputs_[0] = value; | |
994 temps_[0] = temp; | |
995 } | |
996 | |
997 LOperand* value() { return inputs_[0]; } | |
998 LOperand* temp() { return temps_[0]; } | |
999 | |
1000 DECLARE_CONCRETE_INSTRUCTION(CompareMinusZeroAndBranch, | |
1001 "cmp-minus-zero-and-branch") | |
1002 DECLARE_HYDROGEN_ACCESSOR(CompareMinusZeroAndBranch) | |
1003 }; | |
1004 | |
1005 | |
1006 class LIsStringAndBranch final : public LControlInstruction<1, 1> { | 989 class LIsStringAndBranch final : public LControlInstruction<1, 1> { |
1007 public: | 990 public: |
1008 LIsStringAndBranch(LOperand* value, LOperand* temp) { | 991 LIsStringAndBranch(LOperand* value, LOperand* temp) { |
1009 inputs_[0] = value; | 992 inputs_[0] = value; |
1010 temps_[0] = temp; | 993 temps_[0] = temp; |
1011 } | 994 } |
1012 | 995 |
1013 LOperand* value() { return inputs_[0]; } | 996 LOperand* value() { return inputs_[0]; } |
1014 LOperand* temp() { return temps_[0]; } | 997 LOperand* temp() { return temps_[0]; } |
1015 | 998 |
(...skipping 1754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2770 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2753 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2771 }; | 2754 }; |
2772 | 2755 |
2773 #undef DECLARE_HYDROGEN_ACCESSOR | 2756 #undef DECLARE_HYDROGEN_ACCESSOR |
2774 #undef DECLARE_CONCRETE_INSTRUCTION | 2757 #undef DECLARE_CONCRETE_INSTRUCTION |
2775 | 2758 |
2776 } // namespace internal | 2759 } // namespace internal |
2777 } // namespace v8 | 2760 } // namespace v8 |
2778 | 2761 |
2779 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ | 2762 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ |
OLD | NEW |