| 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_MIPS_LITHIUM_MIPS_H_ | 5 #ifndef V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_ |
| 6 #define V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_ | 6 #define V8_CRANKSHAFT_MIPS_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 29 matching lines...) Expand all Loading... |
| 40 V(CheckInstanceType) \ | 40 V(CheckInstanceType) \ |
| 41 V(CheckMaps) \ | 41 V(CheckMaps) \ |
| 42 V(CheckMapValue) \ | 42 V(CheckMapValue) \ |
| 43 V(CheckNonSmi) \ | 43 V(CheckNonSmi) \ |
| 44 V(CheckSmi) \ | 44 V(CheckSmi) \ |
| 45 V(CheckValue) \ | 45 V(CheckValue) \ |
| 46 V(ClampDToUint8) \ | 46 V(ClampDToUint8) \ |
| 47 V(ClampIToUint8) \ | 47 V(ClampIToUint8) \ |
| 48 V(ClampTToUint8) \ | 48 V(ClampTToUint8) \ |
| 49 V(ClassOfTestAndBranch) \ | 49 V(ClassOfTestAndBranch) \ |
| 50 V(CompareMinusZeroAndBranch) \ | |
| 51 V(CompareNumericAndBranch) \ | 50 V(CompareNumericAndBranch) \ |
| 52 V(CmpObjectEqAndBranch) \ | 51 V(CmpObjectEqAndBranch) \ |
| 53 V(CmpHoleAndBranch) \ | 52 V(CmpHoleAndBranch) \ |
| 54 V(CmpMapAndBranch) \ | 53 V(CmpMapAndBranch) \ |
| 55 V(CmpT) \ | 54 V(CmpT) \ |
| 56 V(ConstantD) \ | 55 V(ConstantD) \ |
| 57 V(ConstantE) \ | 56 V(ConstantE) \ |
| 58 V(ConstantI) \ | 57 V(ConstantI) \ |
| 59 V(ConstantS) \ | 58 V(ConstantS) \ |
| 60 V(ConstantT) \ | 59 V(ConstantT) \ |
| (...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 962 inputs_[0] = object; | 961 inputs_[0] = object; |
| 963 } | 962 } |
| 964 | 963 |
| 965 LOperand* object() { return inputs_[0]; } | 964 LOperand* object() { return inputs_[0]; } |
| 966 | 965 |
| 967 DECLARE_CONCRETE_INSTRUCTION(CmpHoleAndBranch, "cmp-hole-and-branch") | 966 DECLARE_CONCRETE_INSTRUCTION(CmpHoleAndBranch, "cmp-hole-and-branch") |
| 968 DECLARE_HYDROGEN_ACCESSOR(CompareHoleAndBranch) | 967 DECLARE_HYDROGEN_ACCESSOR(CompareHoleAndBranch) |
| 969 }; | 968 }; |
| 970 | 969 |
| 971 | 970 |
| 972 class LCompareMinusZeroAndBranch final : public LControlInstruction<1, 1> { | |
| 973 public: | |
| 974 LCompareMinusZeroAndBranch(LOperand* value, LOperand* temp) { | |
| 975 inputs_[0] = value; | |
| 976 temps_[0] = temp; | |
| 977 } | |
| 978 | |
| 979 LOperand* value() { return inputs_[0]; } | |
| 980 LOperand* temp() { return temps_[0]; } | |
| 981 | |
| 982 DECLARE_CONCRETE_INSTRUCTION(CompareMinusZeroAndBranch, | |
| 983 "cmp-minus-zero-and-branch") | |
| 984 DECLARE_HYDROGEN_ACCESSOR(CompareMinusZeroAndBranch) | |
| 985 }; | |
| 986 | |
| 987 | |
| 988 class LIsStringAndBranch final : public LControlInstruction<1, 1> { | 971 class LIsStringAndBranch final : public LControlInstruction<1, 1> { |
| 989 public: | 972 public: |
| 990 LIsStringAndBranch(LOperand* value, LOperand* temp) { | 973 LIsStringAndBranch(LOperand* value, LOperand* temp) { |
| 991 inputs_[0] = value; | 974 inputs_[0] = value; |
| 992 temps_[0] = temp; | 975 temps_[0] = temp; |
| 993 } | 976 } |
| 994 | 977 |
| 995 LOperand* value() { return inputs_[0]; } | 978 LOperand* value() { return inputs_[0]; } |
| 996 LOperand* temp() { return temps_[0]; } | 979 LOperand* temp() { return temps_[0]; } |
| 997 | 980 |
| (...skipping 1726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2724 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2707 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2725 }; | 2708 }; |
| 2726 | 2709 |
| 2727 #undef DECLARE_HYDROGEN_ACCESSOR | 2710 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2728 #undef DECLARE_CONCRETE_INSTRUCTION | 2711 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2729 | 2712 |
| 2730 } // namespace internal | 2713 } // namespace internal |
| 2731 } // namespace v8 | 2714 } // namespace v8 |
| 2732 | 2715 |
| 2733 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_ | 2716 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |