OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 V(ModI) \ | 128 V(ModI) \ |
129 V(MulI) \ | 129 V(MulI) \ |
130 V(NumberTagD) \ | 130 V(NumberTagD) \ |
131 V(NumberTagI) \ | 131 V(NumberTagI) \ |
132 V(NumberUntagD) \ | 132 V(NumberUntagD) \ |
133 V(ObjectLiteral) \ | 133 V(ObjectLiteral) \ |
134 V(OsrEntry) \ | 134 V(OsrEntry) \ |
135 V(OuterContext) \ | 135 V(OuterContext) \ |
136 V(Parameter) \ | 136 V(Parameter) \ |
137 V(PixelArrayLength) \ | 137 V(PixelArrayLength) \ |
| 138 V(Power) \ |
138 V(PushArgument) \ | 139 V(PushArgument) \ |
139 V(RegExpLiteral) \ | 140 V(RegExpLiteral) \ |
140 V(Return) \ | 141 V(Return) \ |
141 V(ShiftI) \ | 142 V(ShiftI) \ |
142 V(SmiTag) \ | 143 V(SmiTag) \ |
143 V(SmiUntag) \ | 144 V(SmiUntag) \ |
144 V(StackCheck) \ | 145 V(StackCheck) \ |
145 V(StoreContextSlot) \ | 146 V(StoreContextSlot) \ |
146 V(StoreGlobal) \ | 147 V(StoreGlobal) \ |
147 V(StoreKeyedFastElement) \ | 148 V(StoreKeyedFastElement) \ |
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1051 LAddI(LOperand* left, LOperand* right) { | 1052 LAddI(LOperand* left, LOperand* right) { |
1052 inputs_[0] = left; | 1053 inputs_[0] = left; |
1053 inputs_[1] = right; | 1054 inputs_[1] = right; |
1054 } | 1055 } |
1055 | 1056 |
1056 DECLARE_CONCRETE_INSTRUCTION(AddI, "add-i") | 1057 DECLARE_CONCRETE_INSTRUCTION(AddI, "add-i") |
1057 DECLARE_HYDROGEN_ACCESSOR(Add) | 1058 DECLARE_HYDROGEN_ACCESSOR(Add) |
1058 }; | 1059 }; |
1059 | 1060 |
1060 | 1061 |
| 1062 class LPower: public LTemplateInstruction<1, 2, 0> { |
| 1063 public: |
| 1064 LPower(LOperand* left, LOperand* right) { |
| 1065 inputs_[0] = left; |
| 1066 inputs_[1] = right; |
| 1067 } |
| 1068 |
| 1069 DECLARE_CONCRETE_INSTRUCTION(Power, "power") |
| 1070 DECLARE_HYDROGEN_ACCESSOR(Power) |
| 1071 }; |
| 1072 |
| 1073 |
1061 class LArithmeticD: public LTemplateInstruction<1, 2, 0> { | 1074 class LArithmeticD: public LTemplateInstruction<1, 2, 0> { |
1062 public: | 1075 public: |
1063 LArithmeticD(Token::Value op, LOperand* left, LOperand* right) | 1076 LArithmeticD(Token::Value op, LOperand* left, LOperand* right) |
1064 : op_(op) { | 1077 : op_(op) { |
1065 inputs_[0] = left; | 1078 inputs_[0] = left; |
1066 inputs_[1] = right; | 1079 inputs_[1] = right; |
1067 } | 1080 } |
1068 | 1081 |
1069 Token::Value op() const { return op_; } | 1082 Token::Value op() const { return op_; } |
1070 | 1083 |
(...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2028 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2041 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2029 }; | 2042 }; |
2030 | 2043 |
2031 #undef DECLARE_HYDROGEN_ACCESSOR | 2044 #undef DECLARE_HYDROGEN_ACCESSOR |
2032 #undef DECLARE_INSTRUCTION | 2045 #undef DECLARE_INSTRUCTION |
2033 #undef DECLARE_CONCRETE_INSTRUCTION | 2046 #undef DECLARE_CONCRETE_INSTRUCTION |
2034 | 2047 |
2035 } } // namespace v8::internal | 2048 } } // namespace v8::internal |
2036 | 2049 |
2037 #endif // V8_ARM_LITHIUM_ARM_H_ | 2050 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |