• thakis's avatar
    v8: Fix unaligned access when deserializing snapshots. · 13af45c9
    thakis authored
    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}
    13af45c9
Name
Last commit
Last update
..
DEPS Loading commit data...
OWNERS Loading commit data...
code-serializer.cc Loading commit data...
code-serializer.h Loading commit data...
deserializer.cc Loading commit data...
deserializer.h Loading commit data...
mksnapshot.cc Loading commit data...
natives-common.cc Loading commit data...
natives-external.cc Loading commit data...
natives.h Loading commit data...
partial-serializer.cc Loading commit data...
partial-serializer.h Loading commit data...
serializer-common.cc Loading commit data...
serializer-common.h Loading commit data...
serializer.cc Loading commit data...
serializer.h Loading commit data...
snapshot-common.cc Loading commit data...
snapshot-empty.cc Loading commit data...
snapshot-external.cc Loading commit data...
snapshot-source-sink.cc Loading commit data...
snapshot-source-sink.h Loading commit data...
snapshot.h Loading commit data...
startup-serializer.cc Loading commit data...
startup-serializer.h Loading commit data...