diff options
Diffstat (limited to 'scripts/fuzz_shell.js')
-rw-r--r-- | scripts/fuzz_shell.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/fuzz_shell.js b/scripts/fuzz_shell.js index 743e838b5..736110751 100644 --- a/scripts/fuzz_shell.js +++ b/scripts/fuzz_shell.js @@ -73,6 +73,11 @@ var imports = { 'log-i64': logValue, 'log-f32': logValue, 'log-f64': logValue, + // JS cannot log v128 values (we trap on the boundary), but we must still + // provide an import so that we do not trap during linking. (Alternatively, + // we could avoid running JS on code with SIMD in it, but it is useful to + // fuzz such code as much as we can.) + 'log-v128': logValue, }, 'env': { 'setTempRet0': function(x) { tempRet0 = x }, |