1. 22 Sep, 2020 39 commits
  2. 21 Sep, 2020 1 commit
    • Ng Zhi An's avatar
      [wasm-simd] Set default args for v128 values · 83fa52a5
      Ng Zhi An authored
      Instantiating a module that contains a function (exported) with a v128
      in its signature is fine, but then later calling it will trap.
      
      So v128 values are technically not callable from JS, but we can give it
      a default argument of 0, and will later trap anyway. This is useful when
      fuzzers generate functions with v128 in the signature of the main
      function that we then later try to call.
      
      Bug: chromium:1129068
      Change-Id: I93f239a0355b8059e25b8bd5f1274d151d71ee11
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2419657
      Commit-Queue: Zhi An Ng <zhin@chromium.org>
      Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#70038}
      83fa52a5