diff options
author | Sam Clegg <sbc@chromium.org> | 2020-10-19 19:56:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-19 17:56:34 -0700 |
commit | e0d092b1ad26e7ef4069e31807f7c76a9eb20587 (patch) | |
tree | 7108e62429d4a164df2b42f998ba253d26f4588f /test/i64-setTempRet0.asm.js | |
parent | 8408cab1fdf67ce9ff331a131f06610909b78e61 (diff) | |
download | binaryen-e0d092b1ad26e7ef4069e31807f7c76a9eb20587.tar.gz binaryen-e0d092b1ad26e7ef4069e31807f7c76a9eb20587.tar.bz2 binaryen-e0d092b1ad26e7ef4069e31807f7c76a9eb20587.zip |
Remove legacy asm.js tests (#3260)
I don't think these files have been referenced since #3042 landed.
Diffstat (limited to 'test/i64-setTempRet0.asm.js')
-rw-r--r-- | test/i64-setTempRet0.asm.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/test/i64-setTempRet0.asm.js b/test/i64-setTempRet0.asm.js deleted file mode 100644 index 496414148..000000000 --- a/test/i64-setTempRet0.asm.js +++ /dev/null @@ -1,24 +0,0 @@ -// -// Test i64 support in wasm-only builds. In this case, fastcomp emits code that is -// not asm.js, it will only ever run as wasm, and contains special intrinsics for -// asm2wasm that map LLVM IR into i64s. -// - -function asm(global, env, buffer) { - "use asm"; - - var illegalImportResult = env.illegalImportResult; - - var tempRet0 = 0; // this should be used to legalize the illegal result - - function illegalResult() { // illegal result, exported - return i64_const(1, 2); - } - - function imports() { - return i64_trunc(i64(illegalImportResult())) | 0; - } - - return { illegalResult: illegalResult, imports: imports }; -} - |