| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 V(MathExp) \ | 141 V(MathExp) \ |
| 142 V(MathFloor) \ | 142 V(MathFloor) \ |
| 143 V(MathFloorOfDiv) \ | 143 V(MathFloorOfDiv) \ |
| 144 V(MathLog) \ | 144 V(MathLog) \ |
| 145 V(MathMinMax) \ | 145 V(MathMinMax) \ |
| 146 V(MathPowHalf) \ | 146 V(MathPowHalf) \ |
| 147 V(MathRound) \ | 147 V(MathRound) \ |
| 148 V(MathSin) \ | 148 V(MathSin) \ |
| 149 V(MathSqrt) \ | 149 V(MathSqrt) \ |
| 150 V(MathTan) \ | 150 V(MathTan) \ |
| 151 V(ModI) \ |
| 151 V(MulConstI) \ | 152 V(MulConstI) \ |
| 152 V(MulI) \ | 153 V(MulI) \ |
| 153 V(NumberTagD) \ | 154 V(NumberTagD) \ |
| 154 V(NumberTagU) \ | 155 V(NumberTagU) \ |
| 155 V(NumberUntagD) \ | 156 V(NumberUntagD) \ |
| 156 V(OsrEntry) \ | 157 V(OsrEntry) \ |
| 157 V(OuterContext) \ | 158 V(OuterContext) \ |
| 158 V(Parameter) \ | 159 V(Parameter) \ |
| 159 V(Power) \ | 160 V(Power) \ |
| 160 V(PushArgument) \ | 161 V(PushArgument) \ |
| (...skipping 1758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1919 }; | 1920 }; |
| 1920 | 1921 |
| 1921 | 1922 |
| 1922 class LMathTan: public LUnaryMathOperation<0> { | 1923 class LMathTan: public LUnaryMathOperation<0> { |
| 1923 public: | 1924 public: |
| 1924 explicit LMathTan(LOperand* value) : LUnaryMathOperation<0>(value) { } | 1925 explicit LMathTan(LOperand* value) : LUnaryMathOperation<0>(value) { } |
| 1925 DECLARE_CONCRETE_INSTRUCTION(MathTan, "math-tan") | 1926 DECLARE_CONCRETE_INSTRUCTION(MathTan, "math-tan") |
| 1926 }; | 1927 }; |
| 1927 | 1928 |
| 1928 | 1929 |
| 1930 class LModI: public LTemplateInstruction<1, 2, 0> { |
| 1931 public: |
| 1932 LModI(LOperand* left, LOperand* right) { |
| 1933 inputs_[0] = left; |
| 1934 inputs_[1] = right; |
| 1935 } |
| 1936 |
| 1937 LOperand* left() { return inputs_[0]; } |
| 1938 LOperand* right() { return inputs_[1]; } |
| 1939 |
| 1940 DECLARE_CONCRETE_INSTRUCTION(ModI, "mod-i") |
| 1941 DECLARE_HYDROGEN_ACCESSOR(Mod) |
| 1942 }; |
| 1943 |
| 1944 |
| 1929 class LMulConstI: public LTemplateInstruction<1, 2, 0> { | 1945 class LMulConstI: public LTemplateInstruction<1, 2, 0> { |
| 1930 public: | 1946 public: |
| 1931 LMulConstI(LOperand* left, LConstantOperand* right) { | 1947 LMulConstI(LOperand* left, LConstantOperand* right) { |
| 1932 inputs_[0] = left; | 1948 inputs_[0] = left; |
| 1933 inputs_[1] = right; | 1949 inputs_[1] = right; |
| 1934 } | 1950 } |
| 1935 | 1951 |
| 1936 LOperand* left() { return inputs_[0]; } | 1952 LOperand* left() { return inputs_[0]; } |
| 1937 LConstantOperand* right() { return LConstantOperand::cast(inputs_[1]); } | 1953 LConstantOperand* right() { return LConstantOperand::cast(inputs_[1]); } |
| 1938 | 1954 |
| (...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2827 | 2843 |
| 2828 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2844 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2829 }; | 2845 }; |
| 2830 | 2846 |
| 2831 #undef DECLARE_HYDROGEN_ACCESSOR | 2847 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2832 #undef DECLARE_CONCRETE_INSTRUCTION | 2848 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2833 | 2849 |
| 2834 } } // namespace v8::internal | 2850 } } // namespace v8::internal |
| 2835 | 2851 |
| 2836 #endif // V8_A64_LITHIUM_A64_H_ | 2852 #endif // V8_A64_LITHIUM_A64_H_ |
| OLD | NEW |