From 0c32a9940b0966f7d5371a916cde3394ef388560 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Wed, 20 Jan 2021 06:27:58 -0800 Subject: [PATCH] Rebaseline code size tests after llvm change. NFC (#13286) --- tests/code_size/hello_world_wasm.js | 4 ++-- tests/code_size/hello_world_wasm2js.js | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/code_size/hello_world_wasm.js b/tests/code_size/hello_world_wasm.js index 4531a6b9f..db78e6411 100644 --- a/tests/code_size/hello_world_wasm.js +++ b/tests/code_size/hello_world_wasm.js @@ -18,10 +18,10 @@ WebAssembly.instantiate(d.wasm, { } }).then((function(a) { a = a.instance.exports; - k = a.e; + k = a.d; h = a.b; var b = h.buffer; g = new Uint8Array(b); - a.d(); + a.c(); k(); })); \ No newline at end of file diff --git a/tests/code_size/hello_world_wasm2js.js b/tests/code_size/hello_world_wasm2js.js index 7deb538cd..059abf089 100644 --- a/tests/code_size/hello_world_wasm2js.js +++ b/tests/code_size/hello_world_wasm2js.js @@ -61,19 +61,19 @@ var k = { function p() {} var o = r([]); return { - b: o, - c: p, - d: q + b: p, + c: q, + d: o }; } return s(t); }(k); }).exports; -l = n.d; +l = n.c; f.set(new Uint8Array(b.mem), 1024); -n.c(); +n.b(); l(); \ No newline at end of file