summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2019-05-17 13:06:41 -0700
committerGitHub <noreply@github.com>2019-05-17 13:06:41 -0700
commit07ccba5e3cbcc9ff3e36692d184fcaa15318f304 (patch)
tree1ea0efad9bd888759c2d1603e3fab5af85217d57 /src
parentd8c46cf57840eadc3d59ef8bffb2d1b3d4438daf (diff)
downloadbinaryen-07ccba5e3cbcc9ff3e36692d184fcaa15318f304.tar.gz
binaryen-07ccba5e3cbcc9ff3e36692d184fcaa15318f304.tar.bz2
binaryen-07ccba5e3cbcc9ff3e36692d184fcaa15318f304.zip
fix a dae fuzz bug (#2121)
Diffstat (limited to 'src')
-rw-r--r--src/passes/DeadArgumentElimination.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/passes/DeadArgumentElimination.cpp b/src/passes/DeadArgumentElimination.cpp
index 3735c79d0..ab2e8e5e3 100644
--- a/src/passes/DeadArgumentElimination.cpp
+++ b/src/passes/DeadArgumentElimination.cpp
@@ -217,6 +217,8 @@ struct DAE : public Pass {
}
bool iteration(PassRunner* runner, Module* module) {
+ allDroppedCalls.clear();
+
DAEFunctionInfoMap infoMap;
// Ensure they all exist so the parallel threads don't modify the data
// structure.