| 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_X87_LITHIUM_X87_H_ | 5 #ifndef V8_CRANKSHAFT_X87_LITHIUM_X87_H_ |
| 6 #define V8_CRANKSHAFT_X87_LITHIUM_X87_H_ | 6 #define V8_CRANKSHAFT_X87_LITHIUM_X87_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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 V(CheckMaps) \ | 45 V(CheckMaps) \ |
| 46 V(CheckMapValue) \ | 46 V(CheckMapValue) \ |
| 47 V(CheckNonSmi) \ | 47 V(CheckNonSmi) \ |
| 48 V(CheckSmi) \ | 48 V(CheckSmi) \ |
| 49 V(CheckValue) \ | 49 V(CheckValue) \ |
| 50 V(ClampDToUint8) \ | 50 V(ClampDToUint8) \ |
| 51 V(ClampIToUint8) \ | 51 V(ClampIToUint8) \ |
| 52 V(ClampTToUint8NoSSE2) \ | 52 V(ClampTToUint8NoSSE2) \ |
| 53 V(ClassOfTestAndBranch) \ | 53 V(ClassOfTestAndBranch) \ |
| 54 V(ClobberDoubles) \ | 54 V(ClobberDoubles) \ |
| 55 V(CompareMinusZeroAndBranch) \ | |
| 56 V(CompareNumericAndBranch) \ | 55 V(CompareNumericAndBranch) \ |
| 57 V(CmpObjectEqAndBranch) \ | 56 V(CmpObjectEqAndBranch) \ |
| 58 V(CmpHoleAndBranch) \ | 57 V(CmpHoleAndBranch) \ |
| 59 V(CmpMapAndBranch) \ | 58 V(CmpMapAndBranch) \ |
| 60 V(CmpT) \ | 59 V(CmpT) \ |
| 61 V(ConstantD) \ | 60 V(ConstantD) \ |
| 62 V(ConstantE) \ | 61 V(ConstantE) \ |
| 63 V(ConstantI) \ | 62 V(ConstantI) \ |
| 64 V(ConstantS) \ | 63 V(ConstantS) \ |
| 65 V(ConstantT) \ | 64 V(ConstantT) \ |
| (...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 983 inputs_[0] = object; | 982 inputs_[0] = object; |
| 984 } | 983 } |
| 985 | 984 |
| 986 LOperand* object() { return inputs_[0]; } | 985 LOperand* object() { return inputs_[0]; } |
| 987 | 986 |
| 988 DECLARE_CONCRETE_INSTRUCTION(CmpHoleAndBranch, "cmp-hole-and-branch") | 987 DECLARE_CONCRETE_INSTRUCTION(CmpHoleAndBranch, "cmp-hole-and-branch") |
| 989 DECLARE_HYDROGEN_ACCESSOR(CompareHoleAndBranch) | 988 DECLARE_HYDROGEN_ACCESSOR(CompareHoleAndBranch) |
| 990 }; | 989 }; |
| 991 | 990 |
| 992 | 991 |
| 993 class LCompareMinusZeroAndBranch final : public LControlInstruction<1, 0> { | |
| 994 public: | |
| 995 explicit LCompareMinusZeroAndBranch(LOperand* value) { inputs_[0] = value; } | |
| 996 | |
| 997 LOperand* value() { return inputs_[0]; } | |
| 998 | |
| 999 DECLARE_CONCRETE_INSTRUCTION(CompareMinusZeroAndBranch, | |
| 1000 "cmp-minus-zero-and-branch") | |
| 1001 DECLARE_HYDROGEN_ACCESSOR(CompareMinusZeroAndBranch) | |
| 1002 }; | |
| 1003 | |
| 1004 | |
| 1005 class LIsStringAndBranch final : public LControlInstruction<1, 1> { | 992 class LIsStringAndBranch final : public LControlInstruction<1, 1> { |
| 1006 public: | 993 public: |
| 1007 LIsStringAndBranch(LOperand* value, LOperand* temp) { | 994 LIsStringAndBranch(LOperand* value, LOperand* temp) { |
| 1008 inputs_[0] = value; | 995 inputs_[0] = value; |
| 1009 temps_[0] = temp; | 996 temps_[0] = temp; |
| 1010 } | 997 } |
| 1011 | 998 |
| 1012 LOperand* value() { return inputs_[0]; } | 999 LOperand* value() { return inputs_[0]; } |
| 1013 LOperand* temp() { return temps_[0]; } | 1000 LOperand* temp() { return temps_[0]; } |
| 1014 | 1001 |
| (...skipping 1761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2776 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2763 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2777 }; | 2764 }; |
| 2778 | 2765 |
| 2779 #undef DECLARE_HYDROGEN_ACCESSOR | 2766 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2780 #undef DECLARE_CONCRETE_INSTRUCTION | 2767 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2781 | 2768 |
| 2782 } // namespace internal | 2769 } // namespace internal |
| 2783 } // namespace v8 | 2770 } // namespace v8 |
| 2784 | 2771 |
| 2785 #endif // V8_CRANKSHAFT_X87_LITHIUM_X87_H_ | 2772 #endif // V8_CRANKSHAFT_X87_LITHIUM_X87_H_ |
| OLD | NEW |