| 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(CheckMapValue) \ | 68 V(CheckMapValue) \ |
| 69 V(CheckNonSmi) \ | 69 V(CheckNonSmi) \ |
| 70 V(CheckSmi) \ | 70 V(CheckSmi) \ |
| 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(CompareNumericAndBranch) \ | 76 V(CompareNumericAndBranch) \ |
| 77 V(CmpObjectEqAndBranch) \ | 77 V(CmpObjectEqAndBranch) \ |
| 78 V(CmpHoleAndBranch) \ |
| 78 V(CmpMapAndBranch) \ | 79 V(CmpMapAndBranch) \ |
| 79 V(CmpT) \ | 80 V(CmpT) \ |
| 80 V(ConstantD) \ | 81 V(ConstantD) \ |
| 81 V(ConstantE) \ | 82 V(ConstantE) \ |
| 82 V(ConstantI) \ | 83 V(ConstantI) \ |
| 83 V(ConstantS) \ | 84 V(ConstantS) \ |
| 84 V(ConstantT) \ | 85 V(ConstantT) \ |
| 85 V(Context) \ | 86 V(Context) \ |
| 86 V(DateField) \ | 87 V(DateField) \ |
| 87 V(DebugBreak) \ | 88 V(DebugBreak) \ |
| (...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 842 class LCmpObjectEqAndBranch: public LControlInstruction<2, 0> { | 843 class LCmpObjectEqAndBranch: public LControlInstruction<2, 0> { |
| 843 public: | 844 public: |
| 844 LCmpObjectEqAndBranch(LOperand* left, LOperand* right) { | 845 LCmpObjectEqAndBranch(LOperand* left, LOperand* right) { |
| 845 inputs_[0] = left; | 846 inputs_[0] = left; |
| 846 inputs_[1] = right; | 847 inputs_[1] = right; |
| 847 } | 848 } |
| 848 | 849 |
| 849 LOperand* left() { return inputs_[0]; } | 850 LOperand* left() { return inputs_[0]; } |
| 850 LOperand* right() { return inputs_[1]; } | 851 LOperand* right() { return inputs_[1]; } |
| 851 | 852 |
| 852 DECLARE_CONCRETE_INSTRUCTION(CmpObjectEqAndBranch, | 853 DECLARE_CONCRETE_INSTRUCTION(CmpObjectEqAndBranch, "cmp-object-eq-and-branch") |
| 853 "cmp-object-eq-and-branch") | |
| 854 }; | 854 }; |
| 855 | 855 |
| 856 | 856 |
| 857 class LCmpHoleAndBranch: public LControlInstruction<1, 0> { |
| 858 public: |
| 859 explicit LCmpHoleAndBranch(LOperand* object) { |
| 860 inputs_[0] = object; |
| 861 } |
| 862 |
| 863 LOperand* object() { return inputs_[0]; } |
| 864 |
| 865 DECLARE_CONCRETE_INSTRUCTION(CmpHoleAndBranch, "cmp-hole-and-branch") |
| 866 DECLARE_HYDROGEN_ACCESSOR(CompareHoleAndBranch) |
| 867 }; |
| 868 |
| 869 |
| 857 class LIsObjectAndBranch: public LControlInstruction<1, 1> { | 870 class LIsObjectAndBranch: public LControlInstruction<1, 1> { |
| 858 public: | 871 public: |
| 859 LIsObjectAndBranch(LOperand* value, LOperand* temp) { | 872 LIsObjectAndBranch(LOperand* value, LOperand* temp) { |
| 860 inputs_[0] = value; | 873 inputs_[0] = value; |
| 861 temps_[0] = temp; | 874 temps_[0] = temp; |
| 862 } | 875 } |
| 863 | 876 |
| 864 LOperand* value() { return inputs_[0]; } | 877 LOperand* value() { return inputs_[0]; } |
| 865 LOperand* temp() { return temps_[0]; } | 878 LOperand* temp() { return temps_[0]; } |
| 866 | 879 |
| (...skipping 2020 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2887 | 2900 |
| 2888 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2901 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2889 }; | 2902 }; |
| 2890 | 2903 |
| 2891 #undef DECLARE_HYDROGEN_ACCESSOR | 2904 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2892 #undef DECLARE_CONCRETE_INSTRUCTION | 2905 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2893 | 2906 |
| 2894 } } // namespace v8::internal | 2907 } } // namespace v8::internal |
| 2895 | 2908 |
| 2896 #endif // V8_IA32_LITHIUM_IA32_H_ | 2909 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |