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

Side by Side Diff: src/objects-visiting.h

Issue 11362246: Implement progress bar for large objects. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed more comments. Created 8 years, 1 month 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/mark-compact.cc ('k') | src/objects-visiting-inl.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 public: 428 public:
429 template<int size> 429 template<int size>
430 static inline void VisitSpecialized(Map* map, HeapObject* object) { 430 static inline void VisitSpecialized(Map* map, HeapObject* object) {
431 } 431 }
432 432
433 static inline void Visit(Map* map, HeapObject* object) { 433 static inline void Visit(Map* map, HeapObject* object) {
434 } 434 }
435 }; 435 };
436 436
437 typedef FlexibleBodyVisitor<StaticVisitor, 437 typedef FlexibleBodyVisitor<StaticVisitor,
438 FixedArray::BodyDescriptor,
439 void> FixedArrayVisitor;
440
441 typedef FlexibleBodyVisitor<StaticVisitor,
438 JSObject::BodyDescriptor, 442 JSObject::BodyDescriptor,
439 void> JSObjectVisitor; 443 void> JSObjectVisitor;
440 444
441 typedef FlexibleBodyVisitor<StaticVisitor, 445 typedef FlexibleBodyVisitor<StaticVisitor,
442 StructBodyDescriptor, 446 StructBodyDescriptor,
443 void> StructObjectVisitor; 447 void> StructObjectVisitor;
444 448
445 typedef void (*Callback)(Map* map, HeapObject* object); 449 typedef void (*Callback)(Map* map, HeapObject* object);
446 450
447 static VisitorDispatchTable<Callback> table_; 451 static VisitorDispatchTable<Callback> table_;
448 }; 452 };
449 453
450 454
451 template<typename StaticVisitor> 455 template<typename StaticVisitor>
452 VisitorDispatchTable<typename StaticMarkingVisitor<StaticVisitor>::Callback> 456 VisitorDispatchTable<typename StaticMarkingVisitor<StaticVisitor>::Callback>
453 StaticMarkingVisitor<StaticVisitor>::table_; 457 StaticMarkingVisitor<StaticVisitor>::table_;
454 458
455 459
456 } } // namespace v8::internal 460 } } // namespace v8::internal
457 461
458 #endif // V8_OBJECTS_VISITING_H_ 462 #endif // V8_OBJECTS_VISITING_H_
OLDNEW
« no previous file with comments | « src/mark-compact.cc ('k') | src/objects-visiting-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698