From eb603485f87044551dbaf7c79c2285363f935edb Mon Sep 17 00:00:00 2001 From: Max Graey Date: Thu, 19 Jan 2023 22:57:48 +0200 Subject: [PATCH] Add reorder-globals pass to pass pipeline (#2625) --- src/module.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/module.ts b/src/module.ts index 8683e7046b..6df96b55a4 100644 --- a/src/module.ts +++ b/src/module.ts @@ -2748,6 +2748,7 @@ export class Module { passes.push("vacuum"); passes.push("simplify-globals-optimizing"); + passes.push("reorder-globals"); passes.push("remove-unused-brs"); passes.push("optimize-instructions"); }