Descriptionv8: Fix unaligned access when deserializing snapshots.
The code was already careful to use memcpy() here, but then it
added needless casts to wider types that made the compiler think
that it can do 4-byte-aligned accesses when it couldn't.
(It's also a bug that the snapshot got loaded at an unaligned
address, but we can fix both bugs.)
BUG=chromium:729059
Review-Url: https://codereview.chromium.org/2915323002
Cr-Commit-Position: refs/heads/master@{#45698}
Committed: https://chromium.googlesource.com/v8/v8/+/13af45c91dac27dffc7d25ca902fb81630b49ca4
Patch Set 1 #
Messages
Total messages: 14 (9 generated)
|