| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 V(CheckMapValue) \ | 67 V(CheckMapValue) \ |
| 68 V(CheckNonSmi) \ | 68 V(CheckNonSmi) \ |
| 69 V(CheckSmi) \ | 69 V(CheckSmi) \ |
| 70 V(CheckValue) \ | 70 V(CheckValue) \ |
| 71 V(ClampDToUint8) \ | 71 V(ClampDToUint8) \ |
| 72 V(ClampIToUint8) \ | 72 V(ClampIToUint8) \ |
| 73 V(ClampTToUint8) \ | 73 V(ClampTToUint8) \ |
| 74 V(ClampTToUint8NoSSE2) \ | 74 V(ClampTToUint8NoSSE2) \ |
| 75 V(ClassOfTestAndBranch) \ | 75 V(ClassOfTestAndBranch) \ |
| 76 V(ClobberDoubles) \ | 76 V(ClobberDoubles) \ |
| 77 V(CompareMinusZeroAndBranch) \ |
| 77 V(CompareNumericAndBranch) \ | 78 V(CompareNumericAndBranch) \ |
| 78 V(CmpObjectEqAndBranch) \ | 79 V(CmpObjectEqAndBranch) \ |
| 79 V(CmpHoleAndBranch) \ | 80 V(CmpHoleAndBranch) \ |
| 80 V(CmpMapAndBranch) \ | 81 V(CmpMapAndBranch) \ |
| 81 V(CmpT) \ | 82 V(CmpT) \ |
| 82 V(ConstantD) \ | 83 V(ConstantD) \ |
| 83 V(ConstantE) \ | 84 V(ConstantE) \ |
| 84 V(ConstantI) \ | 85 V(ConstantI) \ |
| 85 V(ConstantS) \ | 86 V(ConstantS) \ |
| 86 V(ConstantT) \ | 87 V(ConstantT) \ |
| (...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 893 inputs_[0] = object; | 894 inputs_[0] = object; |
| 894 } | 895 } |
| 895 | 896 |
| 896 LOperand* object() { return inputs_[0]; } | 897 LOperand* object() { return inputs_[0]; } |
| 897 | 898 |
| 898 DECLARE_CONCRETE_INSTRUCTION(CmpHoleAndBranch, "cmp-hole-and-branch") | 899 DECLARE_CONCRETE_INSTRUCTION(CmpHoleAndBranch, "cmp-hole-and-branch") |
| 899 DECLARE_HYDROGEN_ACCESSOR(CompareHoleAndBranch) | 900 DECLARE_HYDROGEN_ACCESSOR(CompareHoleAndBranch) |
| 900 }; | 901 }; |
| 901 | 902 |
| 902 | 903 |
| 904 class LCompareMinusZeroAndBranch V8_FINAL : public LControlInstruction<1, 1> { |
| 905 public: |
| 906 LCompareMinusZeroAndBranch(LOperand* value, LOperand* temp) { |
| 907 inputs_[0] = value; |
| 908 temps_[0] = temp; |
| 909 } |
| 910 |
| 911 LOperand* value() { return inputs_[0]; } |
| 912 LOperand* temp() { return temps_[0]; } |
| 913 |
| 914 DECLARE_CONCRETE_INSTRUCTION(CompareMinusZeroAndBranch, |
| 915 "cmp-minus-zero-and-branch") |
| 916 DECLARE_HYDROGEN_ACCESSOR(CompareMinusZeroAndBranch) |
| 917 }; |
| 918 |
| 919 |
| 903 class LIsObjectAndBranch V8_FINAL : public LControlInstruction<1, 1> { | 920 class LIsObjectAndBranch V8_FINAL : public LControlInstruction<1, 1> { |
| 904 public: | 921 public: |
| 905 LIsObjectAndBranch(LOperand* value, LOperand* temp) { | 922 LIsObjectAndBranch(LOperand* value, LOperand* temp) { |
| 906 inputs_[0] = value; | 923 inputs_[0] = value; |
| 907 temps_[0] = temp; | 924 temps_[0] = temp; |
| 908 } | 925 } |
| 909 | 926 |
| 910 LOperand* value() { return inputs_[0]; } | 927 LOperand* value() { return inputs_[0]; } |
| 911 LOperand* temp() { return temps_[0]; } | 928 LOperand* temp() { return temps_[0]; } |
| 912 | 929 |
| (...skipping 2025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2938 | 2955 |
| 2939 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2956 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2940 }; | 2957 }; |
| 2941 | 2958 |
| 2942 #undef DECLARE_HYDROGEN_ACCESSOR | 2959 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2943 #undef DECLARE_CONCRETE_INSTRUCTION | 2960 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2944 | 2961 |
| 2945 } } // namespace v8::internal | 2962 } } // namespace v8::internal |
| 2946 | 2963 |
| 2947 #endif // V8_IA32_LITHIUM_IA32_H_ | 2964 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |