From 07ccba5e3cbcc9ff3e36692d184fcaa15318f304 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 17 May 2019 13:06:41 -0700 Subject: fix a dae fuzz bug (#2121) --- src/passes/DeadArgumentElimination.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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. -- cgit v1.2.3