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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(ClassOfTestAndBranch) \ | 74 V(ClassOfTestAndBranch) \ |
75 V(CompareNumericAndBranch) \ | 75 V(CompareNumericAndBranch) \ |
76 V(CmpObjectEqAndBranch) \ | 76 V(CmpObjectEqAndBranch) \ |
77 V(CmpHoleAndBranch) \ | 77 V(CmpHoleAndBranch) \ |
78 V(CmpMapAndBranch) \ | 78 V(CmpMapAndBranch) \ |
79 V(CompareGenericAndBranch) \ | 79 V(CmpT) \ |
80 V(ConstantD) \ | 80 V(ConstantD) \ |
81 V(ConstantE) \ | 81 V(ConstantE) \ |
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) \ |
89 V(Deoptimize) \ | 89 V(Deoptimize) \ |
(...skipping 976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1066 LOperand* temp() { return temps_[0]; } | 1066 LOperand* temp() { return temps_[0]; } |
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 LCompareGenericAndBranch V8_FINAL : public LControlInstruction<2, 0> { | 1076 class LCmpT V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
1077 public: | 1077 public: |
1078 LCompareGenericAndBranch(LOperand* left, LOperand* right) { | 1078 LCmpT(LOperand* left, LOperand* right) { |
1079 inputs_[0] = left; | 1079 inputs_[0] = left; |
1080 inputs_[1] = right; | 1080 inputs_[1] = right; |
1081 } | 1081 } |
1082 | 1082 |
1083 LOperand* left() { return inputs_[0]; } | 1083 LOperand* left() { return inputs_[0]; } |
1084 LOperand* right() { return inputs_[1]; } | 1084 LOperand* right() { return inputs_[1]; } |
1085 | 1085 |
1086 DECLARE_CONCRETE_INSTRUCTION(CompareGenericAndBranch, | 1086 DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t") |
1087 "compare-generic-and-branch") | 1087 DECLARE_HYDROGEN_ACCESSOR(CompareGeneric) |
1088 DECLARE_HYDROGEN_ACCESSOR(CompareGenericAndBranch) | |
1089 | 1088 |
1090 Token::Value op() const { return hydrogen()->token(); } | 1089 Token::Value op() const { return hydrogen()->token(); } |
1091 }; | 1090 }; |
1092 | 1091 |
1093 | 1092 |
1094 class LInstanceOf V8_FINAL : public LTemplateInstruction<1, 2, 0> { | 1093 class LInstanceOf V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
1095 public: | 1094 public: |
1096 LInstanceOf(LOperand* left, LOperand* right) { | 1095 LInstanceOf(LOperand* left, LOperand* right) { |
1097 inputs_[0] = left; | 1096 inputs_[0] = left; |
1098 inputs_[1] = right; | 1097 inputs_[1] = right; |
(...skipping 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2795 | 2794 |
2796 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2795 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2797 }; | 2796 }; |
2798 | 2797 |
2799 #undef DECLARE_HYDROGEN_ACCESSOR | 2798 #undef DECLARE_HYDROGEN_ACCESSOR |
2800 #undef DECLARE_CONCRETE_INSTRUCTION | 2799 #undef DECLARE_CONCRETE_INSTRUCTION |
2801 | 2800 |
2802 } } // namespace v8::internal | 2801 } } // namespace v8::internal |
2803 | 2802 |
2804 #endif // V8_ARM_LITHIUM_ARM_H_ | 2803 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |