| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 V(CheckNonSmi) \ | 68 V(CheckNonSmi) \ |
| 69 V(CheckMaps) \ | 69 V(CheckMaps) \ |
| 70 V(CheckMapValue) \ | 70 V(CheckMapValue) \ |
| 71 V(CheckPrototypeMaps) \ | 71 V(CheckPrototypeMaps) \ |
| 72 V(CheckSmi) \ | 72 V(CheckSmi) \ |
| 73 V(ClampDToUint8) \ | 73 V(ClampDToUint8) \ |
| 74 V(ClampIToUint8) \ | 74 V(ClampIToUint8) \ |
| 75 V(ClampTToUint8) \ | 75 V(ClampTToUint8) \ |
| 76 V(ClassOfTestAndBranch) \ | 76 V(ClassOfTestAndBranch) \ |
| 77 V(CompareNumericAndBranch) \ | 77 V(CompareNumericAndBranch) \ |
| 78 V(CmpObjectEqAndBranch) \ | 78 V(CmpObjectAndBranch) \ |
| 79 V(CmpMapAndBranch) \ | 79 V(CmpMapAndBranch) \ |
| 80 V(CmpT) \ | 80 V(CmpT) \ |
| 81 V(ConstantD) \ | 81 V(ConstantD) \ |
| 82 V(ConstantI) \ | 82 V(ConstantI) \ |
| 83 V(ConstantS) \ | 83 V(ConstantS) \ |
| 84 V(ConstantT) \ | 84 V(ConstantT) \ |
| 85 V(Context) \ | 85 V(Context) \ |
| 86 V(DateField) \ | 86 V(DateField) \ |
| 87 V(DebugBreak) \ | 87 V(DebugBreak) \ |
| 88 V(DeclareGlobals) \ | 88 V(DeclareGlobals) \ |
| (...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 temps_[0] = temp; | 865 temps_[0] = temp; |
| 866 } | 866 } |
| 867 | 867 |
| 868 LOperand* value() { return inputs_[0]; } | 868 LOperand* value() { return inputs_[0]; } |
| 869 LOperand* temp() { return temps_[0]; } | 869 LOperand* temp() { return temps_[0]; } |
| 870 | 870 |
| 871 DECLARE_CONCRETE_INSTRUCTION(MathPowHalf, "math-pow-half") | 871 DECLARE_CONCRETE_INSTRUCTION(MathPowHalf, "math-pow-half") |
| 872 }; | 872 }; |
| 873 | 873 |
| 874 | 874 |
| 875 class LCmpObjectEqAndBranch: public LControlInstruction<2, 0> { | 875 class LCmpObjectAndBranch: public LControlInstruction<2, 0> { |
| 876 public: | 876 public: |
| 877 LCmpObjectEqAndBranch(LOperand* left, LOperand* right) { | 877 LCmpObjectAndBranch(LOperand* left, LOperand* right) { |
| 878 inputs_[0] = left; | 878 inputs_[0] = left; |
| 879 inputs_[1] = right; | 879 inputs_[1] = right; |
| 880 } | 880 } |
| 881 | 881 |
| 882 LOperand* left() { return inputs_[0]; } | 882 LOperand* left() { return inputs_[0]; } |
| 883 LOperand* right() { return inputs_[1]; } | 883 LOperand* right() { return inputs_[1]; } |
| 884 | 884 |
| 885 DECLARE_CONCRETE_INSTRUCTION(CmpObjectEqAndBranch, | 885 DECLARE_CONCRETE_INSTRUCTION(CmpObjectAndBranch, |
| 886 "cmp-object-eq-and-branch") | 886 "cmp-object-and-branch") |
| 887 DECLARE_HYDROGEN_ACCESSOR(CompareObjectEqAndBranch) | 887 DECLARE_HYDROGEN_ACCESSOR(CompareObjectAndBranch) |
| 888 }; | 888 }; |
| 889 | 889 |
| 890 | 890 |
| 891 class LIsObjectAndBranch: public LControlInstruction<1, 1> { | 891 class LIsObjectAndBranch: public LControlInstruction<1, 1> { |
| 892 public: | 892 public: |
| 893 LIsObjectAndBranch(LOperand* value, LOperand* temp) { | 893 LIsObjectAndBranch(LOperand* value, LOperand* temp) { |
| 894 inputs_[0] = value; | 894 inputs_[0] = value; |
| 895 temps_[0] = temp; | 895 temps_[0] = temp; |
| 896 } | 896 } |
| 897 | 897 |
| (...skipping 1901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2799 | 2799 |
| 2800 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2800 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2801 }; | 2801 }; |
| 2802 | 2802 |
| 2803 #undef DECLARE_HYDROGEN_ACCESSOR | 2803 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2804 #undef DECLARE_CONCRETE_INSTRUCTION | 2804 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2805 | 2805 |
| 2806 } } // namespace v8::internal | 2806 } } // namespace v8::internal |
| 2807 | 2807 |
| 2808 #endif // V8_ARM_LITHIUM_ARM_H_ | 2808 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |