diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-09-16 10:34:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-16 10:34:44 -0700 |
commit | 7292ef9c863a0766c697cc0a77516447ff652820 (patch) | |
tree | e296b38cf2181d3a51a293664509000bbd625bc4 /test/min.asm.js | |
parent | 22548bf789359be1f3c14aa41ffd4a23fda38542 (diff) | |
parent | 88c92cbfe7d9f69fa8605fa406e5dbb2ac628172 (diff) | |
download | binaryen-7292ef9c863a0766c697cc0a77516447ff652820.tar.gz binaryen-7292ef9c863a0766c697cc0a77516447ff652820.tar.bz2 binaryen-7292ef9c863a0766c697cc0a77516447ff652820.zip |
Merge pull request #699 from WebAssembly/opts
Fuzz bug fixes
Diffstat (limited to 'test/min.asm.js')
-rw-r--r-- | test/min.asm.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/min.asm.js b/test/min.asm.js index b72002f97..bef48f4c2 100644 --- a/test/min.asm.js +++ b/test/min.asm.js @@ -18,6 +18,8 @@ function (global, env, buffer) { var hF32 = new global.Float32Array(buffer); var hF64 = new global.Float64Array(buffer); + var M = 0; // tempRet + function floats(f) { f = fr(f); var t = fr(0); @@ -40,7 +42,11 @@ function (global, env, buffer) { function ctzzzz() { return ctz32(0x1234) | 0; } + function ub() { + ub(); // emterpreter assertions mode might add some code here + return M | 0; + } - return { floats: floats }; + return { floats: floats, getTempRet0: ub }; } |