Commit fe2d98ae authored by Yang Guo's avatar Yang Guo Committed by Commit Bot

Fix --serialization-statistics.

R=jgruber@chromium.org

Bug: v8:7227, v8:7228
Change-Id: I2c567a6bf4a3d1128559ae440182bd14fb78d005
Reviewed-on: https://chromium-review.googlesource.com/832462
Commit-Queue: Yang Guo <yangguo@chromium.org>
Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50198}
parent 022d1ab2
......@@ -252,7 +252,7 @@ class Serializer : public SerializerDeserializer {
AllocatorT allocator_;
#ifdef OBJECT_PRINT
static const int kInstanceTypes = 256;
static const int kInstanceTypes = LAST_TYPE + 1;
int* instance_type_count_;
size_t* instance_type_size_;
#endif // OBJECT_PRINT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment