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_ARM_LITHIUM_ARM_H_ | 5 #ifndef V8_ARM_LITHIUM_ARM_H_ |
6 #define V8_ARM_LITHIUM_ARM_H_ | 6 #define V8_ARM_LITHIUM_ARM_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 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
875 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) | 875 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) |
876 }; | 876 }; |
877 | 877 |
878 | 878 |
879 class LMathFround V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 879 class LMathFround V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
880 public: | 880 public: |
881 explicit LMathFround(LOperand* value) { inputs_[0] = value; } | 881 explicit LMathFround(LOperand* value) { inputs_[0] = value; } |
882 | 882 |
883 LOperand* value() { return inputs_[0]; } | 883 LOperand* value() { return inputs_[0]; } |
884 | 884 |
885 DECLARE_CONCRETE_INSTRUCTION(MathRound, "math-fround") | 885 DECLARE_CONCRETE_INSTRUCTION(MathFround, "math-fround") |
886 }; | 886 }; |
887 | 887 |
888 | 888 |
889 class LMathAbs V8_FINAL : public LTemplateInstruction<1, 2, 0> { | 889 class LMathAbs V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
890 public: | 890 public: |
891 LMathAbs(LOperand* context, LOperand* value) { | 891 LMathAbs(LOperand* context, LOperand* value) { |
892 inputs_[1] = context; | 892 inputs_[1] = context; |
893 inputs_[0] = value; | 893 inputs_[0] = value; |
894 } | 894 } |
895 | 895 |
(...skipping 1997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2893 | 2893 |
2894 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2894 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2895 }; | 2895 }; |
2896 | 2896 |
2897 #undef DECLARE_HYDROGEN_ACCESSOR | 2897 #undef DECLARE_HYDROGEN_ACCESSOR |
2898 #undef DECLARE_CONCRETE_INSTRUCTION | 2898 #undef DECLARE_CONCRETE_INSTRUCTION |
2899 | 2899 |
2900 } } // namespace v8::internal | 2900 } } // namespace v8::internal |
2901 | 2901 |
2902 #endif // V8_ARM_LITHIUM_ARM_H_ | 2902 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |