OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 8522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8533 String::Visit(next, 0, *this, null_op, type, length); | 8533 String::Visit(next, 0, *this, null_op, type, length); |
8534 } | 8534 } |
8535 | 8535 |
8536 ConsStringIteratorOp* const op_; | 8536 ConsStringIteratorOp* const op_; |
8537 bool is_one_byte_; | 8537 bool is_one_byte_; |
8538 unsigned length_; | 8538 unsigned length_; |
8539 union { | 8539 union { |
8540 const uint8_t* buffer8_; | 8540 const uint8_t* buffer8_; |
8541 const uint16_t* buffer16_; | 8541 const uint16_t* buffer16_; |
8542 }; | 8542 }; |
| 8543 |
| 8544 private: |
8543 DISALLOW_IMPLICIT_CONSTRUCTORS(State); | 8545 DISALLOW_IMPLICIT_CONSTRUCTORS(State); |
8544 }; | 8546 }; |
8545 | 8547 |
8546 public: | 8548 public: |
8547 inline StringComparator(ConsStringIteratorOp* op_1, | 8549 inline StringComparator(ConsStringIteratorOp* op_1, |
8548 ConsStringIteratorOp* op_2) | 8550 ConsStringIteratorOp* op_2) |
8549 : state_1_(op_1), | 8551 : state_1_(op_1), |
8550 state_2_(op_2) { | 8552 state_2_(op_2) { |
8551 } | 8553 } |
8552 | 8554 |
(...skipping 7133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15686 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); | 15688 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); |
15687 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); | 15689 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); |
15688 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); | 15690 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); |
15689 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); | 15691 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); |
15690 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); | 15692 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); |
15691 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); | 15693 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); |
15692 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); | 15694 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); |
15693 } | 15695 } |
15694 | 15696 |
15695 } } // namespace v8::internal | 15697 } } // namespace v8::internal |
OLD | NEW |