| Index: src/snapshot/snapshot-source-sink.h
|
| diff --git a/src/snapshot/snapshot-source-sink.h b/src/snapshot/snapshot-source-sink.h
|
| index 5d4c08d43a04681892377333796562072a71dc7f..4922ebc74b8dd61eac6cbc7231b3d1cf8b09ccf3 100644
|
| --- a/src/snapshot/snapshot-source-sink.h
|
| +++ b/src/snapshot/snapshot-source-sink.h
|
| @@ -38,7 +38,10 @@ class SnapshotByteSource final {
|
|
|
| void Advance(int by) { position_ += by; }
|
|
|
| - void CopyRaw(byte* to, int number_of_bytes);
|
| + void CopyRaw(byte* to, int number_of_bytes) {
|
| + memcpy(to, data_ + position_, number_of_bytes);
|
| + position_ += number_of_bytes;
|
| + }
|
|
|
| inline int GetInt() {
|
| // This way of decoding variable-length encoded integers does not
|
|
|