| 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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 table_.Register(kVisitShortcutCandidate, | 383 table_.Register(kVisitShortcutCandidate, |
| 384 &FixedBodyVisitor<StaticMarkingVisitor, | 384 &FixedBodyVisitor<StaticMarkingVisitor, |
| 385 ConsString::BodyDescriptor, | 385 ConsString::BodyDescriptor, |
| 386 void>::Visit); | 386 void>::Visit); |
| 387 | 387 |
| 388 table_.Register(kVisitConsString, | 388 table_.Register(kVisitConsString, |
| 389 &FixedBodyVisitor<StaticMarkingVisitor, | 389 &FixedBodyVisitor<StaticMarkingVisitor, |
| 390 ConsString::BodyDescriptor, | 390 ConsString::BodyDescriptor, |
| 391 void>::Visit); | 391 void>::Visit); |
| 392 | 392 |
| 393 table_.Register(kVisitSlicedString, |
| 394 &FixedBodyVisitor<StaticMarkingVisitor, |
| 395 SlicedString::BodyDescriptor, |
| 396 void>::Visit); |
| 393 | 397 |
| 394 table_.Register(kVisitFixedArray, | 398 table_.Register(kVisitFixedArray, |
| 395 &FlexibleBodyVisitor<StaticMarkingVisitor, | 399 &FlexibleBodyVisitor<StaticMarkingVisitor, |
| 396 FixedArray::BodyDescriptor, | 400 FixedArray::BodyDescriptor, |
| 397 void>::Visit); | 401 void>::Visit); |
| 398 | 402 |
| 399 table_.Register(kVisitFixedDoubleArray, DataObjectVisitor::Visit); | 403 table_.Register(kVisitFixedDoubleArray, DataObjectVisitor::Visit); |
| 400 | 404 |
| 401 table_.Register(kVisitGlobalContext, | 405 table_.Register(kVisitGlobalContext, |
| 402 &FixedBodyVisitor<StaticMarkingVisitor, | 406 &FixedBodyVisitor<StaticMarkingVisitor, |
| (...skipping 2868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3271 } | 3275 } |
| 3272 | 3276 |
| 3273 | 3277 |
| 3274 void MarkCompactCollector::Initialize() { | 3278 void MarkCompactCollector::Initialize() { |
| 3275 StaticPointersToNewGenUpdatingVisitor::Initialize(); | 3279 StaticPointersToNewGenUpdatingVisitor::Initialize(); |
| 3276 StaticMarkingVisitor::Initialize(); | 3280 StaticMarkingVisitor::Initialize(); |
| 3277 } | 3281 } |
| 3278 | 3282 |
| 3279 | 3283 |
| 3280 } } // namespace v8::internal | 3284 } } // namespace v8::internal |
| OLD | NEW |