• Clemens Hammacher's avatar
    [wasm] Check size of loaded instance fields · 37cb48d9
    Clemens Hammacher authored
    This CL adds static assertions (in Liftoff) and DCHECKs (in wasm
    compiler) to validate that the size of loaded fields from the wasm
    instance object matches the expected size. This is to avoid future bugs
    where we change the size of integer fields and forget to update all
    code that uses these fields.
    
    R=titzer@chromium.org
    
    Bug: v8:8130, v8:6600
    Change-Id: Ib7273800029135b851c0f0b1ca52886783b61fb0
    Reviewed-on: https://chromium-review.googlesource.com/1203836
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#55651}
    37cb48d9
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
DEPS Loading commit data...
liftoff-assembler-defs.h Loading commit data...
liftoff-assembler.cc Loading commit data...
liftoff-assembler.h Loading commit data...
liftoff-compiler.cc Loading commit data...
liftoff-compiler.h Loading commit data...
liftoff-register.h Loading commit data...