• Andreas Haas's avatar
    [wasm] Refactor Table.Set · 3a4ba583
    Andreas Haas authored
    The old implementation of Table.Set in wasm-js.cc accessed information
    which should be hidden from this level of abstraction, e.g. the internal
    structure of a WasmTableObject. With this CL, all that is done in
    wasm-js.cc is the extraction of parameters. The actual logic is happening
    in wasm-module.{h|cc}. This CL will also make refactoring wasm-module.cc
    easier.
    
    R=clemensh@chromium.org, mtrofin@chromium.org
    
    Change-Id: Ifbce6f739459dffc9f9d47e4cd8227638867f3e9
    Reviewed-on: https://chromium-review.googlesource.com/525694
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#45754}
    3a4ba583
wasm-js.cc 40.9 KB