From ace2ac93ae27681b61f9073c2a3c927ff9c1d369 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Fri, 1 Nov 2019 10:53:55 -0700 Subject: [PATCH] fix --- emscripten.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emscripten.py b/emscripten.py index 57e3cbf0ccfcf..04e5c58a64d60 100644 --- a/emscripten.py +++ b/emscripten.py @@ -2414,7 +2414,7 @@ def create_asm_consts_wasm(forwarded_json, metadata): ', code, sigPtr, argbuf); }') if shared.Settings.RELOCATABLE: - preamble += '\n code -= %s;\n' % (shared.Settings.GLOBAL_BASE, shared.Settings.GLOBAL_BASE) + preamble += '\n code -= %s;\n' % shared.Settings.GLOBAL_BASE asm_const_funcs.append(r''' function %s(code, sigPtr, argbuf) {%s