| Index: src/mksnapshot.cc
|
| diff --git a/src/mksnapshot.cc b/src/mksnapshot.cc
|
| index 37b174e207f21e2406712605dc0a50accda6812c..71a78a94a434a0da0641fafed615c966c8fa3894 100644
|
| --- a/src/mksnapshot.cc
|
| +++ b/src/mksnapshot.cc
|
| @@ -91,12 +91,12 @@ class SnapshotWriter {
|
|
|
| i::byte* snapshot_bytes = snapshot_data.begin();
|
| sink.PutBlob(snapshot_bytes, snapshot_data.length(), "snapshot");
|
| - for (size_t i = 0; i < ARRAY_SIZE(spaces); ++i)
|
| + for (size_t i = 0; i < arraysize(spaces); ++i)
|
| sink.PutInt(serializer.CurrentAllocationAddress(spaces[i]), "spaces");
|
|
|
| i::byte* context_bytes = context_snapshot_data.begin();
|
| sink.PutBlob(context_bytes, context_snapshot_data.length(), "context");
|
| - for (size_t i = 0; i < ARRAY_SIZE(spaces); ++i)
|
| + for (size_t i = 0; i < arraysize(spaces); ++i)
|
| sink.PutInt(context_serializer.CurrentAllocationAddress(spaces[i]),
|
| "spaces");
|
|
|
|
|