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 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1335 public: | 1335 public: |
1336 LDateField(LOperand* date, LOperand* temp, Smi* index) : index_(index) { | 1336 LDateField(LOperand* date, LOperand* temp, Smi* index) : index_(index) { |
1337 inputs_[0] = date; | 1337 inputs_[0] = date; |
1338 temps_[0] = temp; | 1338 temps_[0] = temp; |
1339 } | 1339 } |
1340 | 1340 |
1341 LOperand* date() { return inputs_[0]; } | 1341 LOperand* date() { return inputs_[0]; } |
1342 LOperand* temp() { return temps_[0]; } | 1342 LOperand* temp() { return temps_[0]; } |
1343 Smi* index() const { return index_; } | 1343 Smi* index() const { return index_; } |
1344 | 1344 |
1345 DECLARE_CONCRETE_INSTRUCTION(ValueOf, "date-field") | 1345 DECLARE_CONCRETE_INSTRUCTION(DateField, "date-field") |
1346 DECLARE_HYDROGEN_ACCESSOR(ValueOf) | 1346 DECLARE_HYDROGEN_ACCESSOR(DateField) |
1347 | 1347 |
1348 private: | 1348 private: |
1349 Smi* index_; | 1349 Smi* index_; |
1350 }; | 1350 }; |
1351 | 1351 |
1352 | 1352 |
1353 class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 3, 0> { | 1353 class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 3, 0> { |
1354 public: | 1354 public: |
1355 LSeqStringSetChar(String::Encoding encoding, | 1355 LSeqStringSetChar(String::Encoding encoding, |
1356 LOperand* string, | 1356 LOperand* string, |
(...skipping 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2769 | 2769 |
2770 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2770 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2771 }; | 2771 }; |
2772 | 2772 |
2773 #undef DECLARE_HYDROGEN_ACCESSOR | 2773 #undef DECLARE_HYDROGEN_ACCESSOR |
2774 #undef DECLARE_CONCRETE_INSTRUCTION | 2774 #undef DECLARE_CONCRETE_INSTRUCTION |
2775 | 2775 |
2776 } } // namespace v8::internal | 2776 } } // namespace v8::internal |
2777 | 2777 |
2778 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2778 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |