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 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 &FixedBodyVisitor<StaticMarkingVisitor, | 389 &FixedBodyVisitor<StaticMarkingVisitor, |
390 ConsString::BodyDescriptor, | 390 ConsString::BodyDescriptor, |
391 void>::Visit); | 391 void>::Visit); |
392 | 392 |
393 | 393 |
394 table_.Register(kVisitFixedArray, | 394 table_.Register(kVisitFixedArray, |
395 &FlexibleBodyVisitor<StaticMarkingVisitor, | 395 &FlexibleBodyVisitor<StaticMarkingVisitor, |
396 FixedArray::BodyDescriptor, | 396 FixedArray::BodyDescriptor, |
397 void>::Visit); | 397 void>::Visit); |
398 | 398 |
| 399 table_.Register(kVisitFixedDoubleArray, DataObjectVisitor::Visit); |
| 400 |
399 table_.Register(kVisitGlobalContext, | 401 table_.Register(kVisitGlobalContext, |
400 &FixedBodyVisitor<StaticMarkingVisitor, | 402 &FixedBodyVisitor<StaticMarkingVisitor, |
401 Context::MarkCompactBodyDescriptor, | 403 Context::MarkCompactBodyDescriptor, |
402 void>::Visit); | 404 void>::Visit); |
403 | 405 |
404 table_.Register(kVisitByteArray, &DataObjectVisitor::Visit); | 406 table_.Register(kVisitByteArray, &DataObjectVisitor::Visit); |
405 table_.Register(kVisitSeqAsciiString, &DataObjectVisitor::Visit); | 407 table_.Register(kVisitSeqAsciiString, &DataObjectVisitor::Visit); |
406 table_.Register(kVisitSeqTwoByteString, &DataObjectVisitor::Visit); | 408 table_.Register(kVisitSeqTwoByteString, &DataObjectVisitor::Visit); |
407 | 409 |
408 table_.Register(kVisitOddball, | 410 table_.Register(kVisitOddball, |
(...skipping 2737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3146 } | 3148 } |
3147 | 3149 |
3148 | 3150 |
3149 void MarkCompactCollector::Initialize() { | 3151 void MarkCompactCollector::Initialize() { |
3150 StaticPointersToNewGenUpdatingVisitor::Initialize(); | 3152 StaticPointersToNewGenUpdatingVisitor::Initialize(); |
3151 StaticMarkingVisitor::Initialize(); | 3153 StaticMarkingVisitor::Initialize(); |
3152 } | 3154 } |
3153 | 3155 |
3154 | 3156 |
3155 } } // namespace v8::internal | 3157 } } // namespace v8::internal |
OLD | NEW |