• Clemens Hammacher's avatar
    [wasm] Merge function table and signature table · 553e70b9
    Clemens Hammacher authored
    Both tables are always updated together and are always accessed
    together. Thus merge them, reducing code complexity, but also code
    space and overhead for accessing them during runtime. Instead of two
    weak global handles, we only need one, which also means one less load
    for each indirect call.
    Merging them also improves cache locality, since signature and code
    address are not stored next to each other in memory, so they will very
    likely end up in the same cache line.
    
    R=titzer@chromium.org
    
    Change-Id: I862df7de93a98aa602a3895796610c2c520d6f21
    Reviewed-on: https://chromium-review.googlesource.com/866868
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#50623}
    553e70b9
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
d8_default.gyp Loading commit data...
d8_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...