diff options
Diffstat (limited to 'src/passes/Precompute.cpp')
-rw-r--r-- | src/passes/Precompute.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/Precompute.cpp b/src/passes/Precompute.cpp index 68133edca..ed3d51701 100644 --- a/src/passes/Precompute.cpp +++ b/src/passes/Precompute.cpp @@ -181,7 +181,7 @@ struct Precompute : public WalkerPass<PostWalker<Precompute, UnifiedExpressionVi return; } // this was precomputed - if (isConcreteWasmType(flow.value.type)) { + if (isConcreteType(flow.value.type)) { replaceCurrent(Builder(*getModule()).makeConst(flow.value)); } else { ExpressionManipulator::nop(curr); |