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 "src/hydrogen.h" | 8 #include "src/hydrogen.h" |
9 #include "src/lithium.h" | 9 #include "src/lithium.h" |
10 #include "src/lithium-allocator.h" | 10 #include "src/lithium-allocator.h" |
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
860 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) | 860 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) |
861 }; | 861 }; |
862 | 862 |
863 | 863 |
864 class LMathFround V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 864 class LMathFround V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
865 public: | 865 public: |
866 explicit LMathFround(LOperand* value) { inputs_[0] = value; } | 866 explicit LMathFround(LOperand* value) { inputs_[0] = value; } |
867 | 867 |
868 LOperand* value() { return inputs_[0]; } | 868 LOperand* value() { return inputs_[0]; } |
869 | 869 |
870 DECLARE_CONCRETE_INSTRUCTION(MathRound, "math-fround") | 870 DECLARE_CONCRETE_INSTRUCTION(MathFround, "math-fround") |
871 }; | 871 }; |
872 | 872 |
873 | 873 |
874 class LMathAbs V8_FINAL : public LTemplateInstruction<1, 2, 0> { | 874 class LMathAbs V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
875 public: | 875 public: |
876 explicit LMathAbs(LOperand* context, LOperand* value) { | 876 explicit LMathAbs(LOperand* context, LOperand* value) { |
877 inputs_[1] = context; | 877 inputs_[1] = context; |
878 inputs_[0] = value; | 878 inputs_[0] = value; |
879 } | 879 } |
880 | 880 |
(...skipping 2002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2883 | 2883 |
2884 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2884 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2885 }; | 2885 }; |
2886 | 2886 |
2887 #undef DECLARE_HYDROGEN_ACCESSOR | 2887 #undef DECLARE_HYDROGEN_ACCESSOR |
2888 #undef DECLARE_CONCRETE_INSTRUCTION | 2888 #undef DECLARE_CONCRETE_INSTRUCTION |
2889 | 2889 |
2890 } } // namespace v8::int | 2890 } } // namespace v8::int |
2891 | 2891 |
2892 #endif // V8_X64_LITHIUM_X64_H_ | 2892 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |