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_IA32_LITHIUM_IA32_H_ | 5 #ifndef V8_IA32_LITHIUM_IA32_H_ |
6 #define V8_IA32_LITHIUM_IA32_H_ | 6 #define V8_IA32_LITHIUM_IA32_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 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) | 858 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) |
859 }; | 859 }; |
860 | 860 |
861 | 861 |
862 class LMathFround V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 862 class LMathFround V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
863 public: | 863 public: |
864 explicit LMathFround(LOperand* value) { inputs_[0] = value; } | 864 explicit LMathFround(LOperand* value) { inputs_[0] = value; } |
865 | 865 |
866 LOperand* value() { return inputs_[0]; } | 866 LOperand* value() { return inputs_[0]; } |
867 | 867 |
868 DECLARE_CONCRETE_INSTRUCTION(MathRound, "math-fround") | 868 DECLARE_CONCRETE_INSTRUCTION(MathFround, "math-fround") |
869 }; | 869 }; |
870 | 870 |
871 | 871 |
872 class LMathAbs V8_FINAL : public LTemplateInstruction<1, 2, 0> { | 872 class LMathAbs V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
873 public: | 873 public: |
874 LMathAbs(LOperand* context, LOperand* value) { | 874 LMathAbs(LOperand* context, LOperand* value) { |
875 inputs_[1] = context; | 875 inputs_[1] = context; |
876 inputs_[0] = value; | 876 inputs_[0] = value; |
877 } | 877 } |
878 | 878 |
(...skipping 2005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2884 | 2884 |
2885 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2885 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2886 }; | 2886 }; |
2887 | 2887 |
2888 #undef DECLARE_HYDROGEN_ACCESSOR | 2888 #undef DECLARE_HYDROGEN_ACCESSOR |
2889 #undef DECLARE_CONCRETE_INSTRUCTION | 2889 #undef DECLARE_CONCRETE_INSTRUCTION |
2890 | 2890 |
2891 } } // namespace v8::internal | 2891 } } // namespace v8::internal |
2892 | 2892 |
2893 #endif // V8_IA32_LITHIUM_IA32_H_ | 2893 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |