diff options
author | かめのこにょこにょこ <kamenokonokotan@gmail.com> | 2022-04-19 05:29:34 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-18 13:29:34 -0700 |
commit | 68807a4f8570a58f9e5d3756f54476884b97a366 (patch) | |
tree | 6ab7f1d7c9be895e96156f929d80a59c6ae57481 /src | |
parent | 8bdb2887215e7e291453d42b29da400bf864ad6c (diff) | |
download | binaryen-68807a4f8570a58f9e5d3756f54476884b97a366.tar.gz binaryen-68807a4f8570a58f9e5d3756f54476884b97a366.tar.bz2 binaryen-68807a4f8570a58f9e5d3756f54476884b97a366.zip |
Rename asyncify-side-module to asyncify-relocatable (#4596)
Related: emscripten-core/emscripten#15893 (comment)
--pass-arg=asyncify-side-module option will be used not only from
side modules, but also from main modules.
Diffstat (limited to 'src')
-rw-r--r-- | src/passes/Asyncify.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/passes/Asyncify.cpp b/src/passes/Asyncify.cpp index 023f0675c..649f136c5 100644 --- a/src/passes/Asyncify.cpp +++ b/src/passes/Asyncify.cpp @@ -1531,8 +1531,8 @@ struct Asyncify : public Pass { runner->options.getArgumentOrDefault("asyncify-asserts", "") != ""; auto verbose = runner->options.getArgumentOrDefault("asyncify-verbose", "") != ""; - auto sideModule = - runner->options.getArgumentOrDefault("asyncify-side-module", "") != ""; + auto relocatable = + runner->options.getArgumentOrDefault("asyncify-relocatable", "") != ""; removeList = handleBracketingOperators(removeList); addList = handleBracketingOperators(addList); @@ -1567,7 +1567,7 @@ struct Asyncify : public Pass { verbose); // Add necessary globals before we emit code to use them. - addGlobals(module, sideModule); + addGlobals(module, relocatable); // Instrument the flow of code, adding code instrumentation and // skips for when rewinding. We do this on flat IR so that it is |