summaryrefslogtreecommitdiff
path: root/src/passes/Asyncify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Asyncify.cpp')
-rw-r--r--src/passes/Asyncify.cpp6
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