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

Unified Diff: src/snapshot/serializer.h

Issue 2807023003: [snapshot] encode resource before serializing. (Closed)
Patch Set: fix Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/snapshot/natives-common.cc ('k') | src/snapshot/serializer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/snapshot/serializer.h
diff --git a/src/snapshot/serializer.h b/src/snapshot/serializer.h
index a5131acbf9f9419e2afffdebe34c9d72f169e133..1af259db5730588cf61f4264bdf643ab36156489 100644
--- a/src/snapshot/serializer.h
+++ b/src/snapshot/serializer.h
@@ -280,6 +280,7 @@ class Serializer::ObjectSerializer : public ObjectVisitor {
code_has_been_output_(false) {}
~ObjectSerializer() override {}
void Serialize();
+ void SerializeContent();
void SerializeDeferred();
void VisitPointers(Object** start, Object** end) override;
void VisitEmbeddedPointer(RelocInfo* target) override;
@@ -305,10 +306,6 @@ class Serializer::ObjectSerializer : public ObjectVisitor {
int OutputRawData(Address up_to, ReturnSkip return_skip = kIgnoringReturn);
void SerializeExternalString();
void SerializeExternalStringAsSequentialString();
- bool SerializeExternalNativeSourceString(
- int builtin_count,
- v8::String::ExternalOneByteStringResource** resource_pointer,
- FixedArray* source_cache, int resource_index);
Address PrepareCode();
« no previous file with comments | « src/snapshot/natives-common.cc ('k') | src/snapshot/serializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698