File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1534,9 +1534,9 @@ struct Asyncify : public Pass {
1534
1534
bool allImportsCanChangeState =
1535
1535
stateChangingImports == " " && ignoreImports == " " ;
1536
1536
String::Split listedImports (stateChangingImports, " ," );
1537
- // TODO: consider renaming asyncify-ignore-indirect to
1538
- // asyncify-ignore-nondirect, but that could break users .
1539
- auto ignoreNonDirect =
1537
+ // canIndirectChangeState is the default. asyncify-ignore-indirect sets it
1538
+ // to false .
1539
+ auto canIndirectChangeState =
1540
1540
options.getArgumentOrDefault (" asyncify-ignore-indirect" , " " ) == " " ;
1541
1541
std::string removeListInput =
1542
1542
options.getArgumentOrDefault (" asyncify-removelist" , " " );
@@ -1603,7 +1603,7 @@ struct Asyncify : public Pass {
1603
1603
// Scan the module.
1604
1604
ModuleAnalyzer analyzer (*module,
1605
1605
canImportChangeState,
1606
- ignoreNonDirect ,
1606
+ canIndirectChangeState ,
1607
1607
removeList,
1608
1608
addList,
1609
1609
onlyList,
You can’t perform that action at this time.
0 commit comments