From 4eeec14d343793af27e77620e1e66eda522a8a6b Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Tue, 20 Mar 2018 17:51:02 -0400 Subject: add the highbits global to the IR (#1483) We were using the global to return 64-bit values from functions, but said global wasn't actually present in the IR. This omission caused the generated code to fail validation. --- test/hello_world.2asm.js | 1 + 1 file changed, 1 insertion(+) (limited to 'test/hello_world.2asm.js') diff --git a/test/hello_world.2asm.js b/test/hello_world.2asm.js index dd5966224..405e7916d 100644 --- a/test/hello_world.2asm.js +++ b/test/hello_world.2asm.js @@ -14,6 +14,7 @@ function asmFunc(global, env, buffer) { var Math_clz32 = global.Math.clz32; var Math_min = global.Math.min; var Math_max = global.Math.max; + var i64toi32_i32$HIGH_BITS = 0; function add(x, y) { x = x | 0; y = y | 0; -- cgit v1.2.3