From 58d973cb15d2c1d53d16a5837a537ee0ebe50e27 Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Mon, 13 Jan 2020 16:59:55 -0800 Subject: Clear Mixedarena in ModuleUtils::clearModule (#2588) --- src/ir/module-utils.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ir/module-utils.h b/src/ir/module-utils.h index 014fcb34c..703ae3e53 100644 --- a/src/ir/module-utils.h +++ b/src/ir/module-utils.h @@ -141,6 +141,7 @@ inline void clearModule(Module& wasm) { wasm.userSections.clear(); wasm.debugInfoFileNames.clear(); wasm.updateMaps(); + wasm.allocator.clear(); } // Renaming -- cgit v1.2.3