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 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1290 | 1290 |
1291 class LDateField V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 1291 class LDateField V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
1292 public: | 1292 public: |
1293 LDateField(LOperand* date, Smi* index) : index_(index) { | 1293 LDateField(LOperand* date, Smi* index) : index_(index) { |
1294 inputs_[0] = date; | 1294 inputs_[0] = date; |
1295 } | 1295 } |
1296 | 1296 |
1297 LOperand* date() { return inputs_[0]; } | 1297 LOperand* date() { return inputs_[0]; } |
1298 Smi* index() const { return index_; } | 1298 Smi* index() const { return index_; } |
1299 | 1299 |
1300 DECLARE_CONCRETE_INSTRUCTION(ValueOf, "date-field") | 1300 DECLARE_CONCRETE_INSTRUCTION(DateField, "date-field") |
1301 DECLARE_HYDROGEN_ACCESSOR(ValueOf) | 1301 DECLARE_HYDROGEN_ACCESSOR(DateField) |
1302 | 1302 |
1303 private: | 1303 private: |
1304 Smi* index_; | 1304 Smi* index_; |
1305 }; | 1305 }; |
1306 | 1306 |
1307 | 1307 |
1308 class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 3, 0> { | 1308 class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 3, 0> { |
1309 public: | 1309 public: |
1310 LSeqStringSetChar(String::Encoding encoding, | 1310 LSeqStringSetChar(String::Encoding encoding, |
1311 LOperand* string, | 1311 LOperand* string, |
(...skipping 1405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2717 | 2717 |
2718 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2718 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2719 }; | 2719 }; |
2720 | 2720 |
2721 #undef DECLARE_HYDROGEN_ACCESSOR | 2721 #undef DECLARE_HYDROGEN_ACCESSOR |
2722 #undef DECLARE_CONCRETE_INSTRUCTION | 2722 #undef DECLARE_CONCRETE_INSTRUCTION |
2723 | 2723 |
2724 } } // namespace v8::int | 2724 } } // namespace v8::int |
2725 | 2725 |
2726 #endif // V8_X64_LITHIUM_X64_H_ | 2726 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |