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

Side by Side Diff: src/serialize.h

Issue 6529055: [Isolates] Merge crankshaft (r5922 from bleeding_edge). (Closed)
Patch Set: Win32 port Created 9 years, 10 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
« no previous file with comments | « src/scopes.cc ('k') | src/serialize.cc » ('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 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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 : serializer_(serializer), 447 : serializer_(serializer),
448 object_(HeapObject::cast(o)), 448 object_(HeapObject::cast(o)),
449 sink_(sink), 449 sink_(sink),
450 reference_representation_(how_to_code + where_to_point), 450 reference_representation_(how_to_code + where_to_point),
451 bytes_processed_so_far_(0) { } 451 bytes_processed_so_far_(0) { }
452 void Serialize(); 452 void Serialize();
453 void VisitPointers(Object** start, Object** end); 453 void VisitPointers(Object** start, Object** end);
454 void VisitExternalReferences(Address* start, Address* end); 454 void VisitExternalReferences(Address* start, Address* end);
455 void VisitCodeTarget(RelocInfo* target); 455 void VisitCodeTarget(RelocInfo* target);
456 void VisitCodeEntry(Address entry_address); 456 void VisitCodeEntry(Address entry_address);
457 void VisitGlobalPropertyCell(RelocInfo* rinfo);
457 void VisitRuntimeEntry(RelocInfo* reloc); 458 void VisitRuntimeEntry(RelocInfo* reloc);
458 // Used for seralizing the external strings that hold the natives source. 459 // Used for seralizing the external strings that hold the natives source.
459 void VisitExternalAsciiString( 460 void VisitExternalAsciiString(
460 v8::String::ExternalAsciiStringResource** resource); 461 v8::String::ExternalAsciiStringResource** resource);
461 // We can't serialize a heap with external two byte strings. 462 // We can't serialize a heap with external two byte strings.
462 void VisitExternalTwoByteString( 463 void VisitExternalTwoByteString(
463 v8::String::ExternalStringResource** resource) { 464 v8::String::ExternalStringResource** resource) {
464 UNREACHABLE(); 465 UNREACHABLE();
465 } 466 }
466 467
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 virtual int RootIndex(HeapObject* o) { return kInvalidRootIndex; } 580 virtual int RootIndex(HeapObject* o) { return kInvalidRootIndex; }
580 virtual bool ShouldBeInThePartialSnapshotCache(HeapObject* o) { 581 virtual bool ShouldBeInThePartialSnapshotCache(HeapObject* o) {
581 return false; 582 return false;
582 } 583 }
583 }; 584 };
584 585
585 586
586 } } // namespace v8::internal 587 } } // namespace v8::internal
587 588
588 #endif // V8_SERIALIZE_H_ 589 #endif // V8_SERIALIZE_H_
OLDNEW
« no previous file with comments | « src/scopes.cc ('k') | src/serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698