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_MIPS_LITHIUM_MIPS_H_ | 5 #ifndef V8_MIPS_LITHIUM_MIPS_H_ |
6 #define V8_MIPS_LITHIUM_MIPS_H_ | 6 #define V8_MIPS_LITHIUM_MIPS_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 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
851 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) | 851 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) |
852 }; | 852 }; |
853 | 853 |
854 | 854 |
855 class LMathFround V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 855 class LMathFround V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
856 public: | 856 public: |
857 explicit LMathFround(LOperand* value) { inputs_[0] = value; } | 857 explicit LMathFround(LOperand* value) { inputs_[0] = value; } |
858 | 858 |
859 LOperand* value() { return inputs_[0]; } | 859 LOperand* value() { return inputs_[0]; } |
860 | 860 |
861 DECLARE_CONCRETE_INSTRUCTION(MathRound, "math-fround") | 861 DECLARE_CONCRETE_INSTRUCTION(MathFround, "math-fround") |
862 }; | 862 }; |
863 | 863 |
864 | 864 |
865 class LMathAbs V8_FINAL : public LTemplateInstruction<1, 2, 0> { | 865 class LMathAbs V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
866 public: | 866 public: |
867 LMathAbs(LOperand* context, LOperand* value) { | 867 LMathAbs(LOperand* context, LOperand* value) { |
868 inputs_[1] = context; | 868 inputs_[1] = context; |
869 inputs_[0] = value; | 869 inputs_[0] = value; |
870 } | 870 } |
871 | 871 |
(...skipping 1977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2849 | 2849 |
2850 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2850 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2851 }; | 2851 }; |
2852 | 2852 |
2853 #undef DECLARE_HYDROGEN_ACCESSOR | 2853 #undef DECLARE_HYDROGEN_ACCESSOR |
2854 #undef DECLARE_CONCRETE_INSTRUCTION | 2854 #undef DECLARE_CONCRETE_INSTRUCTION |
2855 | 2855 |
2856 } } // namespace v8::internal | 2856 } } // namespace v8::internal |
2857 | 2857 |
2858 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2858 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |