Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/mark-compact.cc

Issue 7089002: Implement core support for FixedDoubleArrays. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: final version before commit Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/heap.cc ('k') | src/objects.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698