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 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1353 public: | 1353 public: |
1354 LDateField(LOperand* date, LOperand* temp, Smi* index) : index_(index) { | 1354 LDateField(LOperand* date, LOperand* temp, Smi* index) : index_(index) { |
1355 inputs_[0] = date; | 1355 inputs_[0] = date; |
1356 temps_[0] = temp; | 1356 temps_[0] = temp; |
1357 } | 1357 } |
1358 | 1358 |
1359 LOperand* date() { return inputs_[0]; } | 1359 LOperand* date() { return inputs_[0]; } |
1360 LOperand* temp() { return temps_[0]; } | 1360 LOperand* temp() { return temps_[0]; } |
1361 Smi* index() const { return index_; } | 1361 Smi* index() const { return index_; } |
1362 | 1362 |
1363 DECLARE_CONCRETE_INSTRUCTION(ValueOf, "date-field") | 1363 DECLARE_CONCRETE_INSTRUCTION(DateField, "date-field") |
1364 DECLARE_HYDROGEN_ACCESSOR(ValueOf) | 1364 DECLARE_HYDROGEN_ACCESSOR(DateField) |
1365 | 1365 |
1366 private: | 1366 private: |
1367 Smi* index_; | 1367 Smi* index_; |
1368 }; | 1368 }; |
1369 | 1369 |
1370 | 1370 |
1371 class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 3, 0> { | 1371 class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 3, 0> { |
1372 public: | 1372 public: |
1373 LSeqStringSetChar(String::Encoding encoding, | 1373 LSeqStringSetChar(String::Encoding encoding, |
1374 LOperand* string, | 1374 LOperand* string, |
(...skipping 1419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2794 | 2794 |
2795 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2795 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2796 }; | 2796 }; |
2797 | 2797 |
2798 #undef DECLARE_HYDROGEN_ACCESSOR | 2798 #undef DECLARE_HYDROGEN_ACCESSOR |
2799 #undef DECLARE_CONCRETE_INSTRUCTION | 2799 #undef DECLARE_CONCRETE_INSTRUCTION |
2800 | 2800 |
2801 } } // namespace v8::internal | 2801 } } // namespace v8::internal |
2802 | 2802 |
2803 #endif // V8_ARM_LITHIUM_ARM_H_ | 2803 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |