Index: src/snapshot/snapshot-source-sink.cc |
diff --git a/src/snapshot/snapshot-source-sink.cc b/src/snapshot/snapshot-source-sink.cc |
index 5399fe11f28ed539db842b85717292d87b6867fb..66a14bc599769b2582b5acd8c127450c70b91bd6 100644 |
--- a/src/snapshot/snapshot-source-sink.cc |
+++ b/src/snapshot/snapshot-source-sink.cc |
@@ -11,6 +11,12 @@ |
namespace v8 { |
namespace internal { |
+ |
+void SnapshotByteSource::CopyRaw(byte* to, int number_of_bytes) { |
+ memcpy(to, data_ + position_, number_of_bytes); |
+ position_ += number_of_bytes; |
+} |
+ |
void SnapshotByteSink::PutInt(uintptr_t integer, const char* description) { |
DCHECK(integer < 1 << 30); |