diff options
Diffstat (limited to 'src/passes/Flatten.cpp')
-rw-r--r-- | src/passes/Flatten.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passes/Flatten.cpp b/src/passes/Flatten.cpp index 55ee00936..54da8a86e 100644 --- a/src/passes/Flatten.cpp +++ b/src/passes/Flatten.cpp @@ -211,7 +211,7 @@ struct Flatten // the return type of the block this branch is targetting, which may // not be the same with the innermost block's return type. For // example, - // (block $any (result anyref) + // (block $any (result externref) // (block (result nullref) // (local.tee $0 // (br_if $any @@ -222,7 +222,7 @@ struct Flatten // ) // ) // In this case we need two locals to store (ref.null); one with - // anyref type that's for the target block ($label0) and one more + // externref type that's for the target block ($label0) and one more // with nullref type in case for flowing out. Here we create the // second 'flowing out' local in case two block's types are // different. |