• Clemens Hammacher's avatar
    [serializer] Fix wasm code serialization · bd8447af
    Clemens Hammacher authored
    The SerializeGeneric method assumes that the object was not serialized
    before. Hence, we should not call it repeatedly for the same builtin.
    This CL now exposes SerializeBuiltin, and calls that directly.
    We also serialize the Illegal builtin for wasm interpreter entries,
    which are never reused across instantiations anyway.
    
    R=ahaas@chromium.org, yangguo@chromium.org
    BUG=v8:5822
    
    Change-Id: Id74b86fe29171908ed35ddbc06c93f0d241e4917
    Reviewed-on: https://chromium-review.googlesource.com/458380Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#44155}
    bd8447af
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...