Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sbc100 committed Nov 1, 2019
1 parent 5a9a669 commit ace2ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emscripten.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ace2ac9

Please sign in to comment.