Skip to content

Commit

Permalink
Revert "Export getTempRet0 like other EH library functions (#7268)"
Browse files Browse the repository at this point in the history
This reverts commit 1773f65.
  • Loading branch information
aheejin committed Oct 12, 2018
1 parent d160a38 commit 1b7ab7b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions emcc.py
Expand Up @@ -1155,8 +1155,7 @@ def check(input_file):
# llvm wasm backend will generate calls to these when using setjmp
# and/or C++ exceptions, so we pretty much alwasy need them. They are
# also tiny, and should be elimitated by meta-DCE when not used.
shared.Settings.EXPORTED_FUNCTIONS += \
['_setTempRet0', '_getTempRet0', '_setThrew']
shared.Settings.EXPORTED_FUNCTIONS += ['_setTempRet0', '_setThrew']

assert not (not shared.Settings.DYNAMIC_EXECUTION and shared.Settings.RELOCATABLE), 'cannot have both DYNAMIC_EXECUTION=0 and RELOCATABLE enabled at the same time, since RELOCATABLE needs to eval()'

Expand Down

0 comments on commit 1b7ab7b

Please sign in to comment.