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

Unified Diff: src/snapshot-source-sink.cc

Issue 789213002: Extract non-IO part of mksnapshot into an API method. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix external snapshot Created 6 years 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-source-sink.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/snapshot-source-sink.cc
diff --git a/src/snapshot-source-sink.cc b/src/snapshot-source-sink.cc
index b2613b325ece423c9b5ed008c968bade8e747730..fd9472434026d983e1681adb18afc06799285d4a 100644
--- a/src/snapshot-source-sink.cc
+++ b/src/snapshot-source-sink.cc
@@ -50,13 +50,6 @@ void SnapshotByteSink::PutRaw(const byte* data, int number_of_bytes,
}
-void SnapshotByteSink::PutBlob(Vector<const byte> blob,
- const char* description) {
- PutInt(blob.length(), description);
- PutRaw(blob.start(), blob.length(), description);
-}
-
-
bool SnapshotByteSource::AtEOF() {
if (0u + length_ - position_ > 2 * sizeof(uint32_t)) return false;
for (int x = position_; x < length_; x++) {
« no previous file with comments | « src/snapshot-source-sink.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698