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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(CompareNumericAndBranch) \ | 77 V(CompareNumericAndBranch) \ |
78 V(CmpObjectEqAndBranch) \ | 78 V(CmpObjectEqAndBranch) \ |
79 V(CmpHoleAndBranch) \ | 79 V(CmpHoleAndBranch) \ |
80 V(CmpMapAndBranch) \ | 80 V(CmpMapAndBranch) \ |
81 V(CmpT) \ | 81 V(CompareGenericAndBranch) \ |
82 V(ConstantD) \ | 82 V(ConstantD) \ |
83 V(ConstantE) \ | 83 V(ConstantE) \ |
84 V(ConstantI) \ | 84 V(ConstantI) \ |
85 V(ConstantS) \ | 85 V(ConstantS) \ |
86 V(ConstantT) \ | 86 V(ConstantT) \ |
87 V(Context) \ | 87 V(Context) \ |
88 V(DateField) \ | 88 V(DateField) \ |
89 V(DebugBreak) \ | 89 V(DebugBreak) \ |
90 V(DeclareGlobals) \ | 90 V(DeclareGlobals) \ |
91 V(Deoptimize) \ | 91 V(Deoptimize) \ |
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1066 LOperand* temp2() { return temps_[1]; } | 1066 LOperand* temp2() { return temps_[1]; } |
1067 | 1067 |
1068 DECLARE_CONCRETE_INSTRUCTION(ClassOfTestAndBranch, | 1068 DECLARE_CONCRETE_INSTRUCTION(ClassOfTestAndBranch, |
1069 "class-of-test-and-branch") | 1069 "class-of-test-and-branch") |
1070 DECLARE_HYDROGEN_ACCESSOR(ClassOfTestAndBranch) | 1070 DECLARE_HYDROGEN_ACCESSOR(ClassOfTestAndBranch) |
1071 | 1071 |
1072 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 1072 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
1073 }; | 1073 }; |
1074 | 1074 |
1075 | 1075 |
1076 class LCmpT V8_FINAL : public LTemplateInstruction<1, 3, 0> { | 1076 class LCompareGenericAndBranch V8_FINAL : public LControlInstruction<3, 0> { |
1077 public: | 1077 public: |
1078 LCmpT(LOperand* context, LOperand* left, LOperand* right) { | 1078 LCompareGenericAndBranch(LOperand* context, LOperand* left, LOperand* right) { |
1079 inputs_[0] = context; | 1079 inputs_[0] = context; |
1080 inputs_[1] = left; | 1080 inputs_[1] = left; |
1081 inputs_[2] = right; | 1081 inputs_[2] = right; |
1082 } | 1082 } |
1083 | 1083 |
1084 DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t") | 1084 DECLARE_CONCRETE_INSTRUCTION(CompareGenericAndBranch, |
1085 DECLARE_HYDROGEN_ACCESSOR(CompareGeneric) | 1085 "compare-generic-and-branch") |
| 1086 DECLARE_HYDROGEN_ACCESSOR(CompareGenericAndBranch) |
1086 | 1087 |
1087 Token::Value op() const { return hydrogen()->token(); } | 1088 Token::Value op() const { return hydrogen()->token(); } |
1088 }; | 1089 }; |
1089 | 1090 |
1090 | 1091 |
1091 class LInstanceOf V8_FINAL : public LTemplateInstruction<1, 3, 0> { | 1092 class LInstanceOf V8_FINAL : public LTemplateInstruction<1, 3, 0> { |
1092 public: | 1093 public: |
1093 LInstanceOf(LOperand* context, LOperand* left, LOperand* right) { | 1094 LInstanceOf(LOperand* context, LOperand* left, LOperand* right) { |
1094 inputs_[0] = context; | 1095 inputs_[0] = context; |
1095 inputs_[1] = left; | 1096 inputs_[1] = left; |
(...skipping 1824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2920 | 2921 |
2921 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2922 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2922 }; | 2923 }; |
2923 | 2924 |
2924 #undef DECLARE_HYDROGEN_ACCESSOR | 2925 #undef DECLARE_HYDROGEN_ACCESSOR |
2925 #undef DECLARE_CONCRETE_INSTRUCTION | 2926 #undef DECLARE_CONCRETE_INSTRUCTION |
2926 | 2927 |
2927 } } // namespace v8::internal | 2928 } } // namespace v8::internal |
2928 | 2929 |
2929 #endif // V8_IA32_LITHIUM_IA32_H_ | 2930 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |