Skip to content

Commit cafaa9b

Browse files
Fix comment
1 parent 08888b8 commit cafaa9b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/passes/GlobalEffects.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ struct FuncInfo {
5252
Only funcs that are 'addressed' may be the target of an indirect call. A
5353
function is addressed if:
5454
- It appears in a ref.func expression
55-
- It appears in an `elem declare` statement (note that we already ignore `elem`
55+
- It appears in an `elem` segment (note that we already ignore `elem declare`
5656
statements in our IR, but we check separately for funcs that appear in
57-
`ref.func`).
57+
`ref.func`).
5858
- It's exported, because it may flow back to us as a reference.
5959
- It's imported, which implies it is `elem declare`d.
6060

0 commit comments

Comments
 (0)