| 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_X64_LITHIUM_X64_H_ | 5 #ifndef V8_X64_LITHIUM_X64_H_ |
| 6 #define V8_X64_LITHIUM_X64_H_ | 6 #define V8_X64_LITHIUM_X64_H_ |
| 7 | 7 |
| 8 #include "hydrogen.h" | 8 #include "hydrogen.h" |
| 9 #include "lithium-allocator.h" | 9 #include "lithium-allocator.h" |
| 10 #include "lithium.h" | 10 #include "lithium.h" |
| (...skipping 1962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1973 temps_[0] = temp; | 1973 temps_[0] = temp; |
| 1974 } | 1974 } |
| 1975 | 1975 |
| 1976 LOperand* value() { return inputs_[0]; } | 1976 LOperand* value() { return inputs_[0]; } |
| 1977 LOperand* temp() { return temps_[0]; } | 1977 LOperand* temp() { return temps_[0]; } |
| 1978 | 1978 |
| 1979 DECLARE_CONCRETE_INSTRUCTION(Uint32ToDouble, "uint32-to-double") | 1979 DECLARE_CONCRETE_INSTRUCTION(Uint32ToDouble, "uint32-to-double") |
| 1980 }; | 1980 }; |
| 1981 | 1981 |
| 1982 | 1982 |
| 1983 class LNumberTagI V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 1983 class LNumberTagI V8_FINAL : public LTemplateInstruction<1, 1, 2> { |
| 1984 public: | 1984 public: |
| 1985 explicit LNumberTagI(LOperand* value) { | 1985 LNumberTagI(LOperand* value, LOperand* temp1, LOperand* temp2) { |
| 1986 inputs_[0] = value; | 1986 inputs_[0] = value; |
| 1987 temps_[0] = temp1; |
| 1988 temps_[1] = temp2; |
| 1987 } | 1989 } |
| 1988 | 1990 |
| 1989 LOperand* value() { return inputs_[0]; } | 1991 LOperand* value() { return inputs_[0]; } |
| 1992 LOperand* temp1() { return temps_[0]; } |
| 1993 LOperand* temp2() { return temps_[1]; } |
| 1990 | 1994 |
| 1991 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") | 1995 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") |
| 1992 }; | 1996 }; |
| 1993 | 1997 |
| 1994 | 1998 |
| 1995 class LNumberTagU V8_FINAL : public LTemplateInstruction<1, 1, 2> { | 1999 class LNumberTagU V8_FINAL : public LTemplateInstruction<1, 1, 2> { |
| 1996 public: | 2000 public: |
| 1997 LNumberTagU(LOperand* value, LOperand* temp1, LOperand* temp2) { | 2001 LNumberTagU(LOperand* value, LOperand* temp1, LOperand* temp2) { |
| 1998 inputs_[0] = value; | 2002 inputs_[0] = value; |
| 1999 temps_[0] = temp1; | 2003 temps_[0] = temp1; |
| (...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2810 | 2814 |
| 2811 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2815 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2812 }; | 2816 }; |
| 2813 | 2817 |
| 2814 #undef DECLARE_HYDROGEN_ACCESSOR | 2818 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2815 #undef DECLARE_CONCRETE_INSTRUCTION | 2819 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2816 | 2820 |
| 2817 } } // namespace v8::int | 2821 } } // namespace v8::int |
| 2818 | 2822 |
| 2819 #endif // V8_X64_LITHIUM_X64_H_ | 2823 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |