We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08888b8 commit cafaa9bCopy full SHA for cafaa9b
1 file changed
src/passes/GlobalEffects.cpp
@@ -52,9 +52,9 @@ struct FuncInfo {
52
Only funcs that are 'addressed' may be the target of an indirect call. A
53
function is addressed if:
54
- It appears in a ref.func expression
55
- - It appears in an `elem declare` statement (note that we already ignore `elem`
+ - It appears in an `elem` segment (note that we already ignore `elem declare`
56
statements in our IR, but we check separately for funcs that appear in
57
- `ref.func`).
+ `ref.func`).
58
- It's exported, because it may flow back to us as a reference.
59
- It's imported, which implies it is `elem declare`d.
60
0 commit comments