| OLD | NEW |
| 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 virtual void VisitPointers(Object** start, Object** end); | 349 virtual void VisitPointers(Object** start, Object** end); |
| 350 | 350 |
| 351 virtual void VisitExternalReferences(Address* start, Address* end) { | 351 virtual void VisitExternalReferences(Address* start, Address* end) { |
| 352 UNREACHABLE(); | 352 UNREACHABLE(); |
| 353 } | 353 } |
| 354 | 354 |
| 355 virtual void VisitRuntimeEntry(RelocInfo* rinfo) { | 355 virtual void VisitRuntimeEntry(RelocInfo* rinfo) { |
| 356 UNREACHABLE(); | 356 UNREACHABLE(); |
| 357 } | 357 } |
| 358 | 358 |
| 359 void ReadChunk(Object** start, Object** end, int space, Address address); | 359 void ReadChunk(HeapObject* host, |
| 360 Object** start, |
| 361 Object** end, |
| 362 int space, |
| 363 Address address); |
| 360 HeapObject* GetAddressFromStart(int space); | 364 HeapObject* GetAddressFromStart(int space); |
| 361 inline HeapObject* GetAddressFromEnd(int space); | 365 inline HeapObject* GetAddressFromEnd(int space); |
| 362 Address Allocate(int space_number, Space* space, int size); | 366 Address Allocate(int space_number, Space* space, int size); |
| 363 void ReadObject(int space_number, Space* space, Object** write_back); | 367 void ReadObject(int space_number, Space* space, Object** write_back); |
| 364 | 368 |
| 365 // Cached current isolate. | 369 // Cached current isolate. |
| 366 Isolate* isolate_; | 370 Isolate* isolate_; |
| 367 | 371 |
| 368 // Keep track of the pages in the paged spaces. | 372 // Keep track of the pages in the paged spaces. |
| 369 // (In large object space we are keeping track of individual objects | 373 // (In large object space we are keeping track of individual objects |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 638 private: | 642 private: |
| 639 virtual bool ShouldBeInThePartialSnapshotCache(HeapObject* o) { | 643 virtual bool ShouldBeInThePartialSnapshotCache(HeapObject* o) { |
| 640 return false; | 644 return false; |
| 641 } | 645 } |
| 642 }; | 646 }; |
| 643 | 647 |
| 644 | 648 |
| 645 } } // namespace v8::internal | 649 } } // namespace v8::internal |
| 646 | 650 |
| 647 #endif // V8_SERIALIZE_H_ | 651 #endif // V8_SERIALIZE_H_ |
| OLD | NEW |