From 8dc68bc96db046127d648644daa89f524a668863 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 18 Apr 2019 10:39:41 -0700 Subject: wasm2js: remove "use asm", we are not asm.js anymore (#2020) Also emit the memory growth code based on memory growth, and not whether we are "use asm" or not. --- test/wasm2js/stack-modified.2asm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/wasm2js/stack-modified.2asm.js') diff --git a/test/wasm2js/stack-modified.2asm.js b/test/wasm2js/stack-modified.2asm.js index 2ebb8b477..92e1a0b87 100644 --- a/test/wasm2js/stack-modified.2asm.js +++ b/test/wasm2js/stack-modified.2asm.js @@ -1,6 +1,6 @@ function asmFunc(global, env, buffer) { - "use asm"; + "almost asm"; var HEAP8 = new global.Int8Array(buffer); var HEAP16 = new global.Int16Array(buffer); var HEAP32 = new global.Int32Array(buffer); -- cgit v1.2.3