| Index: src/snapshot-source-sink.cc
|
| diff --git a/src/snapshot-source-sink.cc b/src/snapshot-source-sink.cc
|
| index 29bad33aac0b4c813aa9899a3fdf7bb25f865fc0..9935ff73963c7e157b40b33c3e4c2da6dbe5b380 100644
|
| --- a/src/snapshot-source-sink.cc
|
| +++ b/src/snapshot-source-sink.cc
|
| @@ -54,9 +54,7 @@ void SnapshotByteSink::PutInt(uintptr_t integer, const char* description) {
|
|
|
| void SnapshotByteSink::PutRaw(byte* data, int number_of_bytes,
|
| const char* description) {
|
| - for (int i = 0; i < number_of_bytes; ++i) {
|
| - Put(data[i], description);
|
| - }
|
| + data_.AddAll(Vector<byte>(data, number_of_bytes));
|
| }
|
|
|
| void SnapshotByteSink::PutBlob(byte* data, int number_of_bytes,
|
| @@ -89,11 +87,5 @@ bool SnapshotByteSource::GetBlob(const byte** data, int* number_of_bytes) {
|
| }
|
| }
|
|
|
| -
|
| -void DebugSnapshotSink::Put(byte b, const char* description) {
|
| - PrintF("%24s: %x\n", description, b);
|
| - sink_->Put(b, description);
|
| -}
|
| -
|
| } // namespace v8::internal
|
| } // namespace v8
|
|
|