)]}'
{
  "commit": "e1413c34b671e5932e0a77618c3224cf73152b56",
  "tree": "8fb7bb3105f1e4b242c0f5a5cd3c1ac51f73b673",
  "parents": [
    "661afafb9b35247d1877cd19033f7f663cd266c4"
  ],
  "author": {
    "name": "Sam Clegg",
    "email": "sbc@chromium.org",
    "time": "Thu Oct 08 23:37:00 2026"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Oct 08 23:37:00 2026"
  },
  "message": "Consolidate `acorn_optimizer` calls in `minify_wasm_js`. NFC (#27928)\n\nPreviously, at `-O3`/`-Os`/`-Oz` (`expensive_optimizations`),\n`minify_wasm_js` invoked `acorn-optimizer.mjs` up to four separate times\nto parse and reprint JS:\n1. Pre-`metadce` (`AJSDCE`, `stripDefaultUndefined`,\n`--minify-whitespace`)\n2. Inside `metadce` (`applyDCEGraphRemovals`, `--minify-whitespace`)\n3. Post-`metadce` (`AJSDCE`, `--minify-whitespace`)\n4. Inside `minify_wasm_imports_and_exports`\n(`applyImportAndExportNameChanges`, `--minify-whitespace`)\n\nHave `metadce` and `minify_wasm_imports_and_exports` return their\nremoval/renaming metadata instead of invoking `acorn_optimizer`\ndirectly, and consolidate `applyDCEGraphRemovals`, post-`metadce`\n`AJSDCE`, `applyImportAndExportNameChanges`, `stripDefaultUndefined`,\nand `--minify-whitespace` into a single final `acorn_optimizer` pass.\n\nSplit out from #27926",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8cb2b7827e20750b143497b828bbe0e89afa94c7",
      "old_mode": 33188,
      "old_path": "tools/building.py",
      "new_id": "9b0baed46945f9577f889fe34ba750b1f8845133",
      "new_mode": 33188,
      "new_path": "tools/building.py"
    }
  ]
}
