diff options
Diffstat (limited to 'src/ir/ExpressionAnalyzer.cpp')
-rw-r--r-- | src/ir/ExpressionAnalyzer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ir/ExpressionAnalyzer.cpp b/src/ir/ExpressionAnalyzer.cpp index 7248691a9..6b553c909 100644 --- a/src/ir/ExpressionAnalyzer.cpp +++ b/src/ir/ExpressionAnalyzer.cpp @@ -19,6 +19,7 @@ #include "ir/load-utils.h" namespace wasm { + // Given a stack of expressions, checks if the topmost is used as a result. // For example, if the parent is a block and the node is before the last position, // it is not used. @@ -616,4 +617,5 @@ HashType ExpressionAnalyzer::hash(Expression* curr) { } return digest; } + } // namespace wasm |