[snapshot] The length of the snapshot version string is 64 bytes

Modify the wrong code annotation.

Change-Id: Ied592d7066f394581ba36480eb91221f1ba53bbc
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3359104
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78541}
This commit is contained in:
XiangYang 2021-12-29 16:22:50 +08:00 committed by V8 LUCI CQ
parent d6f8af0169
commit 506c0cf24f
2 changed files with 2 additions and 1 deletions

View File

@ -263,3 +263,4 @@ Zhao Jiazhong <kyslie3100@gmail.com>
Zheng Liu <i6122f@gmail.com>
Zhongping Wang <kewpie.w.zp@gmail.com>
柳荣一 <admin@web-tinker.com>
Yang Xiang <xiangyangemail@gmail.com>

View File

@ -72,7 +72,7 @@ class SnapshotImpl : public AllStatic {
// [0] number of contexts N
// [1] rehashability
// [2] checksum
// [3] (128 bytes) version string
// [3] (64 bytes) version string
// [4] offset to readonly
// [5] offset to shared heap
// [6] offset to context 0