• Mircea Trofin's avatar
    [wasm] {compile|instantiate}Streaming · 47702c53
    Mircea Trofin authored
    As per spec, (https://github.com/WebAssembly/design/pull/1068), we
    don't have compile/instantiate overloads anymore, instead, we
    have explicitly named members.
    
    This change introduces the new APIs, implements instantiateStreaming
    based on compileStreaming, and uses the existing embedder mechanism.
    It does not yet remove the functionality from compile/instantiate -
    we do that after we adopt the new APIs on the blink side.
    
    Also, it temporarily handles exceptions on the v8 side, which is also
    something we'll move to the blink side.
    
    Bug: 
    Change-Id: I77673b1c0d395dfcf13b2f25464fd5dfd99c8d82
    Reviewed-on: https://chromium-review.googlesource.com/508852
    Commit-Queue: Brad Nelson <bradnelson@chromium.org>
    Reviewed-by: 's avatarBrad Nelson <bradnelson@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#45411}
    47702c53
wasm-api-overloading.js 1.39 KB