| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 table_.Register(kVisitShortcutCandidate, | 698 table_.Register(kVisitShortcutCandidate, |
| 699 &FixedBodyVisitor<StaticMarkingVisitor, | 699 &FixedBodyVisitor<StaticMarkingVisitor, |
| 700 ConsString::BodyDescriptor, | 700 ConsString::BodyDescriptor, |
| 701 void>::Visit); | 701 void>::Visit); |
| 702 | 702 |
| 703 table_.Register(kVisitConsString, | 703 table_.Register(kVisitConsString, |
| 704 &FixedBodyVisitor<StaticMarkingVisitor, | 704 &FixedBodyVisitor<StaticMarkingVisitor, |
| 705 ConsString::BodyDescriptor, | 705 ConsString::BodyDescriptor, |
| 706 void>::Visit); | 706 void>::Visit); |
| 707 | 707 |
| 708 table_.Register(kVisitSlicedString, |
| 709 &FixedBodyVisitor<StaticMarkingVisitor, |
| 710 SlicedString::BodyDescriptor, |
| 711 void>::Visit); |
| 708 | 712 |
| 709 table_.Register(kVisitFixedArray, | 713 table_.Register(kVisitFixedArray, |
| 710 &FlexibleBodyVisitor<StaticMarkingVisitor, | 714 &FlexibleBodyVisitor<StaticMarkingVisitor, |
| 711 FixedArray::BodyDescriptor, | 715 FixedArray::BodyDescriptor, |
| 712 void>::Visit); | 716 void>::Visit); |
| 713 | 717 |
| 714 table_.Register(kVisitGlobalContext, &VisitGlobalContext); | 718 table_.Register(kVisitGlobalContext, &VisitGlobalContext); |
| 715 | 719 |
| 716 table_.Register(kVisitFixedDoubleArray, DataObjectVisitor::Visit); | 720 table_.Register(kVisitFixedDoubleArray, DataObjectVisitor::Visit); |
| 717 | 721 |
| (...skipping 2800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3518 while (buffer != NULL) { | 3522 while (buffer != NULL) { |
| 3519 SlotsBuffer* next_buffer = buffer->next(); | 3523 SlotsBuffer* next_buffer = buffer->next(); |
| 3520 DeallocateBuffer(buffer); | 3524 DeallocateBuffer(buffer); |
| 3521 buffer = next_buffer; | 3525 buffer = next_buffer; |
| 3522 } | 3526 } |
| 3523 *buffer_address = NULL; | 3527 *buffer_address = NULL; |
| 3524 } | 3528 } |
| 3525 | 3529 |
| 3526 | 3530 |
| 3527 } } // namespace v8::internal | 3531 } } // namespace v8::internal |
| OLD | NEW |