| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 V(NumberTagU) \ | 149 V(NumberTagU) \ |
| 150 V(NumberUntagD) \ | 150 V(NumberUntagD) \ |
| 151 V(OsrEntry) \ | 151 V(OsrEntry) \ |
| 152 V(OuterContext) \ | 152 V(OuterContext) \ |
| 153 V(Parameter) \ | 153 V(Parameter) \ |
| 154 V(Power) \ | 154 V(Power) \ |
| 155 V(PushArgument) \ | 155 V(PushArgument) \ |
| 156 V(Random) \ | 156 V(Random) \ |
| 157 V(RegExpLiteral) \ | 157 V(RegExpLiteral) \ |
| 158 V(Return) \ | 158 V(Return) \ |
| 159 V(SeqStringGetChar) \ | |
| 160 V(SeqStringSetChar) \ | 159 V(SeqStringSetChar) \ |
| 161 V(ShiftI) \ | 160 V(ShiftI) \ |
| 162 V(SmiTag) \ | 161 V(SmiTag) \ |
| 163 V(SmiUntag) \ | 162 V(SmiUntag) \ |
| 164 V(StackCheck) \ | 163 V(StackCheck) \ |
| 165 V(StoreCodeEntry) \ | 164 V(StoreCodeEntry) \ |
| 166 V(StoreContextSlot) \ | 165 V(StoreContextSlot) \ |
| 167 V(StoreGlobalCell) \ | 166 V(StoreGlobalCell) \ |
| 168 V(StoreGlobalGeneric) \ | 167 V(StoreGlobalGeneric) \ |
| 169 V(StoreKeyed) \ | 168 V(StoreKeyed) \ |
| (...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1354 Smi* index() const { return index_; } | 1353 Smi* index() const { return index_; } |
| 1355 | 1354 |
| 1356 DECLARE_CONCRETE_INSTRUCTION(DateField, "date-field") | 1355 DECLARE_CONCRETE_INSTRUCTION(DateField, "date-field") |
| 1357 DECLARE_HYDROGEN_ACCESSOR(DateField) | 1356 DECLARE_HYDROGEN_ACCESSOR(DateField) |
| 1358 | 1357 |
| 1359 private: | 1358 private: |
| 1360 Smi* index_; | 1359 Smi* index_; |
| 1361 }; | 1360 }; |
| 1362 | 1361 |
| 1363 | 1362 |
| 1364 class LSeqStringGetChar V8_FINAL : public LTemplateInstruction<1, 2, 0> { | |
| 1365 public: | |
| 1366 LSeqStringGetChar(LOperand* string, LOperand* index) { | |
| 1367 inputs_[0] = string; | |
| 1368 inputs_[1] = index; | |
| 1369 } | |
| 1370 | |
| 1371 LOperand* string() const { return inputs_[0]; } | |
| 1372 LOperand* index() const { return inputs_[1]; } | |
| 1373 | |
| 1374 DECLARE_CONCRETE_INSTRUCTION(SeqStringGetChar, "seq-string-get-char") | |
| 1375 DECLARE_HYDROGEN_ACCESSOR(SeqStringGetChar) | |
| 1376 }; | |
| 1377 | |
| 1378 | |
| 1379 class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 3, 0> { | 1363 class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 3, 0> { |
| 1380 public: | 1364 public: |
| 1381 LSeqStringSetChar(LOperand* string, | 1365 LSeqStringSetChar(LOperand* string, |
| 1382 LOperand* index, | 1366 LOperand* index, |
| 1383 LOperand* value) { | 1367 LOperand* value) { |
| 1384 inputs_[0] = string; | 1368 inputs_[0] = string; |
| 1385 inputs_[1] = index; | 1369 inputs_[1] = index; |
| 1386 inputs_[2] = value; | 1370 inputs_[2] = value; |
| 1387 } | 1371 } |
| 1388 | 1372 |
| (...skipping 1522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2911 | 2895 |
| 2912 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2896 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2913 }; | 2897 }; |
| 2914 | 2898 |
| 2915 #undef DECLARE_HYDROGEN_ACCESSOR | 2899 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2916 #undef DECLARE_CONCRETE_INSTRUCTION | 2900 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2917 | 2901 |
| 2918 } } // namespace v8::internal | 2902 } } // namespace v8::internal |
| 2919 | 2903 |
| 2920 #endif // V8_ARM_LITHIUM_ARM_H_ | 2904 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |