| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 879 explicit LMathSqrt(LOperand* value) { | 879 explicit LMathSqrt(LOperand* value) { |
| 880 inputs_[0] = value; | 880 inputs_[0] = value; |
| 881 } | 881 } |
| 882 | 882 |
| 883 LOperand* value() { return inputs_[0]; } | 883 LOperand* value() { return inputs_[0]; } |
| 884 | 884 |
| 885 DECLARE_CONCRETE_INSTRUCTION(MathSqrt, "math-sqrt") | 885 DECLARE_CONCRETE_INSTRUCTION(MathSqrt, "math-sqrt") |
| 886 }; | 886 }; |
| 887 | 887 |
| 888 | 888 |
| 889 class LMathPowHalf V8_FINAL : public LTemplateInstruction<1, 1, 1> { | 889 class LMathPowHalf V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
| 890 public: | 890 public: |
| 891 LMathPowHalf(LOperand* value, LOperand* temp) { | 891 explicit LMathPowHalf(LOperand* value) { |
| 892 inputs_[0] = value; | 892 inputs_[0] = value; |
| 893 temps_[0] = temp; | |
| 894 } | 893 } |
| 895 | 894 |
| 896 LOperand* value() { return inputs_[0]; } | 895 LOperand* value() { return inputs_[0]; } |
| 897 LOperand* temp() { return temps_[0]; } | |
| 898 | 896 |
| 899 DECLARE_CONCRETE_INSTRUCTION(MathPowHalf, "math-pow-half") | 897 DECLARE_CONCRETE_INSTRUCTION(MathPowHalf, "math-pow-half") |
| 900 }; | 898 }; |
| 901 | 899 |
| 902 | 900 |
| 903 class LCmpObjectEqAndBranch V8_FINAL : public LControlInstruction<2, 0> { | 901 class LCmpObjectEqAndBranch V8_FINAL : public LControlInstruction<2, 0> { |
| 904 public: | 902 public: |
| 905 LCmpObjectEqAndBranch(LOperand* left, LOperand* right) { | 903 LCmpObjectEqAndBranch(LOperand* left, LOperand* right) { |
| 906 inputs_[0] = left; | 904 inputs_[0] = left; |
| 907 inputs_[1] = right; | 905 inputs_[1] = right; |
| (...skipping 2007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2915 | 2913 |
| 2916 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2914 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2917 }; | 2915 }; |
| 2918 | 2916 |
| 2919 #undef DECLARE_HYDROGEN_ACCESSOR | 2917 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2920 #undef DECLARE_CONCRETE_INSTRUCTION | 2918 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2921 | 2919 |
| 2922 } } // namespace v8::internal | 2920 } } // namespace v8::internal |
| 2923 | 2921 |
| 2924 #endif // V8_ARM_LITHIUM_ARM_H_ | 2922 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |