summaryrefslogtreecommitdiff
path: root/test/wasm2js/comments.2asm.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2019-07-12 13:46:03 -0700
committerGitHub <noreply@github.com>2019-07-12 13:46:03 -0700
commit8d13b5a9c59b5b215583568ddd117a626cc8f59f (patch)
treef6b307b67960bb78bc4bb7538e36a250c645c7e0 /test/wasm2js/comments.2asm.js
parent29b6458350747ef325bcbc98ec79860edb2e1867 (diff)
downloadbinaryen-8d13b5a9c59b5b215583568ddd117a626cc8f59f.tar.gz
binaryen-8d13b5a9c59b5b215583568ddd117a626cc8f59f.tar.bz2
binaryen-8d13b5a9c59b5b215583568ddd117a626cc8f59f.zip
Stop emitting "almost asm" in wasm2js output (#2221)
We don't ever emit "use asm" anymore, so this similar annotation is not really useful, it just increases size.
Diffstat (limited to 'test/wasm2js/comments.2asm.js')
-rw-r--r--test/wasm2js/comments.2asm.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/wasm2js/comments.2asm.js b/test/wasm2js/comments.2asm.js
index e98543391..81100c40c 100644
--- a/test/wasm2js/comments.2asm.js
+++ b/test/wasm2js/comments.2asm.js
@@ -1,6 +1,5 @@
function asmFunc(global, env, buffer) {
- "almost asm";
var HEAP8 = new global.Int8Array(buffer);
var HEAP16 = new global.Int16Array(buffer);
var HEAP32 = new global.Int32Array(buffer);
@@ -31,7 +30,6 @@ var memasmFunc = new ArrayBuffer(65536);
var retasmFunc = asmFunc({Math,Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,NaN,Infinity}, {abort:function() { throw new Error('abort'); }},memasmFunc);
function asmFunc(global, env, buffer) {
- "almost asm";
var HEAP8 = new global.Int8Array(buffer);
var HEAP16 = new global.Int16Array(buffer);
var HEAP32 = new global.Int32Array(buffer);