| 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 1949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1960 explicit LInteger32ToDouble(LOperand* value) { | 1960 explicit LInteger32ToDouble(LOperand* value) { |
| 1961 inputs_[0] = value; | 1961 inputs_[0] = value; |
| 1962 } | 1962 } |
| 1963 | 1963 |
| 1964 LOperand* value() { return inputs_[0]; } | 1964 LOperand* value() { return inputs_[0]; } |
| 1965 | 1965 |
| 1966 DECLARE_CONCRETE_INSTRUCTION(Integer32ToDouble, "int32-to-double") | 1966 DECLARE_CONCRETE_INSTRUCTION(Integer32ToDouble, "int32-to-double") |
| 1967 }; | 1967 }; |
| 1968 | 1968 |
| 1969 | 1969 |
| 1970 class LUint32ToDouble V8_FINAL : public LTemplateInstruction<1, 1, 1> { | 1970 class LUint32ToDouble V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
| 1971 public: | 1971 public: |
| 1972 explicit LUint32ToDouble(LOperand* value, LOperand* temp) { | 1972 explicit LUint32ToDouble(LOperand* value) { |
| 1973 inputs_[0] = value; | 1973 inputs_[0] = value; |
| 1974 temps_[0] = temp; | |
| 1975 } | 1974 } |
| 1976 | 1975 |
| 1977 LOperand* value() { return inputs_[0]; } | 1976 LOperand* value() { return inputs_[0]; } |
| 1978 LOperand* temp() { return temps_[0]; } | |
| 1979 | 1977 |
| 1980 DECLARE_CONCRETE_INSTRUCTION(Uint32ToDouble, "uint32-to-double") | 1978 DECLARE_CONCRETE_INSTRUCTION(Uint32ToDouble, "uint32-to-double") |
| 1981 }; | 1979 }; |
| 1982 | 1980 |
| 1983 | 1981 |
| 1984 class LNumberTagI V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 1982 class LNumberTagI V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
| 1985 public: | 1983 public: |
| 1986 explicit LNumberTagI(LOperand* value) { | 1984 explicit LNumberTagI(LOperand* value) { |
| 1987 inputs_[0] = value; | 1985 inputs_[0] = value; |
| 1988 } | 1986 } |
| (...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2827 | 2825 |
| 2828 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2826 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2829 }; | 2827 }; |
| 2830 | 2828 |
| 2831 #undef DECLARE_HYDROGEN_ACCESSOR | 2829 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2832 #undef DECLARE_CONCRETE_INSTRUCTION | 2830 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2833 | 2831 |
| 2834 } } // namespace v8::int | 2832 } } // namespace v8::int |
| 2835 | 2833 |
| 2836 #endif // V8_X64_LITHIUM_X64_H_ | 2834 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |