| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 V(NumberUntagD) \ | 143 V(NumberUntagD) \ |
| 144 V(ObjectLiteral) \ | 144 V(ObjectLiteral) \ |
| 145 V(OsrEntry) \ | 145 V(OsrEntry) \ |
| 146 V(OuterContext) \ | 146 V(OuterContext) \ |
| 147 V(Parameter) \ | 147 V(Parameter) \ |
| 148 V(Power) \ | 148 V(Power) \ |
| 149 V(PushArgument) \ | 149 V(PushArgument) \ |
| 150 V(Random) \ | 150 V(Random) \ |
| 151 V(RegExpLiteral) \ | 151 V(RegExpLiteral) \ |
| 152 V(Return) \ | 152 V(Return) \ |
| 153 V(SeqStringSetChar) \ |
| 153 V(ShiftI) \ | 154 V(ShiftI) \ |
| 154 V(SmiTag) \ | 155 V(SmiTag) \ |
| 155 V(SmiUntag) \ | 156 V(SmiUntag) \ |
| 156 V(StackCheck) \ | 157 V(StackCheck) \ |
| 157 V(StoreContextSlot) \ | 158 V(StoreContextSlot) \ |
| 158 V(StoreGlobalCell) \ | 159 V(StoreGlobalCell) \ |
| 159 V(StoreGlobalGeneric) \ | 160 V(StoreGlobalGeneric) \ |
| 160 V(StoreKeyed) \ | 161 V(StoreKeyed) \ |
| 161 V(StoreKeyedGeneric) \ | 162 V(StoreKeyedGeneric) \ |
| 162 V(StoreNamedField) \ | 163 V(StoreNamedField) \ |
| (...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1191 Smi* index() const { return index_; } | 1192 Smi* index() const { return index_; } |
| 1192 | 1193 |
| 1193 DECLARE_CONCRETE_INSTRUCTION(ValueOf, "date-field") | 1194 DECLARE_CONCRETE_INSTRUCTION(ValueOf, "date-field") |
| 1194 DECLARE_HYDROGEN_ACCESSOR(ValueOf) | 1195 DECLARE_HYDROGEN_ACCESSOR(ValueOf) |
| 1195 | 1196 |
| 1196 private: | 1197 private: |
| 1197 Smi* index_; | 1198 Smi* index_; |
| 1198 }; | 1199 }; |
| 1199 | 1200 |
| 1200 | 1201 |
| 1202 class LSeqStringSetChar: public LTemplateInstruction<1, 3, 0> { |
| 1203 public: |
| 1204 LSeqStringSetChar(bool is_one_byte, |
| 1205 LOperand* string, |
| 1206 LOperand* index, |
| 1207 LOperand* value) : is_one_byte_(is_one_byte) { |
| 1208 inputs_[0] = string; |
| 1209 inputs_[1] = index; |
| 1210 inputs_[2] = value; |
| 1211 } |
| 1212 |
| 1213 LOperand* string() { return inputs_[0]; } |
| 1214 LOperand* index() { return inputs_[1]; } |
| 1215 LOperand* value() { return inputs_[2]; } |
| 1216 bool is_one_byte() { return is_one_byte_; } |
| 1217 |
| 1218 DECLARE_CONCRETE_INSTRUCTION(SeqStringSetChar, "seq-string-set-char") |
| 1219 DECLARE_HYDROGEN_ACCESSOR(SeqStringSetChar) |
| 1220 |
| 1221 private: |
| 1222 bool is_one_byte_; |
| 1223 }; |
| 1224 |
| 1225 |
| 1201 class LThrow: public LTemplateInstruction<0, 1, 0> { | 1226 class LThrow: public LTemplateInstruction<0, 1, 0> { |
| 1202 public: | 1227 public: |
| 1203 explicit LThrow(LOperand* value) { | 1228 explicit LThrow(LOperand* value) { |
| 1204 inputs_[0] = value; | 1229 inputs_[0] = value; |
| 1205 } | 1230 } |
| 1206 | 1231 |
| 1207 LOperand* value() { return inputs_[0]; } | 1232 LOperand* value() { return inputs_[0]; } |
| 1208 | 1233 |
| 1209 DECLARE_CONCRETE_INSTRUCTION(Throw, "throw") | 1234 DECLARE_CONCRETE_INSTRUCTION(Throw, "throw") |
| 1210 }; | 1235 }; |
| (...skipping 1377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2588 | 2613 |
| 2589 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2614 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2590 }; | 2615 }; |
| 2591 | 2616 |
| 2592 #undef DECLARE_HYDROGEN_ACCESSOR | 2617 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2593 #undef DECLARE_CONCRETE_INSTRUCTION | 2618 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2594 | 2619 |
| 2595 } } // namespace v8::internal | 2620 } } // namespace v8::internal |
| 2596 | 2621 |
| 2597 #endif // V8_ARM_LITHIUM_ARM_H_ | 2622 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |