summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/passes/Asyncify.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/passes/Asyncify.cpp b/src/passes/Asyncify.cpp
index 7d6dd9f76..361976fc3 100644
--- a/src/passes/Asyncify.cpp
+++ b/src/passes/Asyncify.cpp
@@ -230,6 +230,10 @@
// will be instrumented. Like the blacklist, getting this wrong will
// break your application.
//
+// TODO When wasm has GC, extending the live ranges of locals can keep things
+// alive unnecessarily. We may want to set locals to null at the end
+// of their original range.
+//
#include "ir/effects.h"
#include "ir/literal-utils.h"