diff options
Diffstat (limited to 'src/passes/CodeFolding.cpp')
-rw-r--r-- | src/passes/CodeFolding.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/passes/CodeFolding.cpp b/src/passes/CodeFolding.cpp index ee54c50a6..a0fc11c83 100644 --- a/src/passes/CodeFolding.cpp +++ b/src/passes/CodeFolding.cpp @@ -306,10 +306,10 @@ private: } if (getModule()->features.hasExceptionHandling()) { EffectAnalyzer effects(getPassOptions(), getModule()->features, item); - // Currently pop instructions are only used for exnref.pop, which is a - // pseudo instruction following a catch. We cannot move expressions - // containing pops if they are not enclosed in a 'catch' body, because a - // pop instruction should follow right after 'catch'. + // Pop instructions are pseudoinstructions used only after 'catch' to + // simulate its behavior. We cannot move expressions containing pops if + // they are not enclosed in a 'catch' body, because a pop instruction + // should follow right after 'catch'. if (effects.danglingPop) { return false; } |