)]}'
{
  "commit": "4ec12a7e883c0ea75d74ad58f237f9d8bd076f45",
  "tree": "1de238bd379c61122e5e69631d5a8650497494af",
  "parents": [
    "c21f4d950bba32ab82ddc1fc26248c6a3df1b6fe"
  ],
  "author": {
    "name": "Sam Clegg",
    "email": "sbc@chromium.org",
    "time": "Mon Oct 05 16:55:31 2026"
  },
  "committer": {
    "name": "Sam Clegg",
    "email": "sbc@chromium.org",
    "time": "Mon Oct 05 20:28:05 2026"
  },
  "message": "[acorn-opt] Add inlineConstants pass to inline primitive JS constants\n\nInlines immutable primitive constants (numbers, booleans, and bigints)\ndefined via `const` into their expression uses in\n`tools/acorn-optimizer.mjs`.\n\nWhen combined with `JSDCE`, this allows constants defined in JS library\ncode (such as pthread/worker message command IDs and socket states) to\nbe inlined and their declarations eliminated in builds that do not run\nClosure Compiler.\n\nAlso add unit tests in `test/test_other.py`.\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "700385840f7e6e02ba32cf4dff2459a1255c38e9",
      "new_mode": 33188,
      "new_path": "test/js_optimizer/inlineConstants-dce-output.js"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "fea9bca5c7f7c94f0a79acce7aa91ea4daef718b",
      "new_mode": 33188,
      "new_path": "test/js_optimizer/inlineConstants-dce.js"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "abdaefd9d3dc41ed3839355e0f0b9a128b70ecfc",
      "new_mode": 33188,
      "new_path": "test/js_optimizer/inlineConstants-output.js"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "88df0707043428f6a797d06fc4df6e880f3dad94",
      "new_mode": 33188,
      "new_path": "test/js_optimizer/inlineConstants.js"
    },
    {
      "type": "modify",
      "old_id": "5ad254253b5177ac19ad9cca6022f65a7591fe4d",
      "old_mode": 33188,
      "old_path": "test/test_other.py",
      "new_id": "48bfc732abd906549961fd12237fd265cfa156c4",
      "new_mode": 33188,
      "new_path": "test/test_other.py"
    },
    {
      "type": "modify",
      "old_id": "feefd731ff5711ce7c9578abb2101f7ee495c157",
      "old_mode": 33261,
      "old_path": "tools/acorn-optimizer.mjs",
      "new_id": "7db8e5e673b4b7944c78b8ce5242e2f809fbc99f",
      "new_mode": 33261,
      "new_path": "tools/acorn-optimizer.mjs"
    },
    {
      "type": "modify",
      "old_id": "8cb2b7827e20750b143497b828bbe0e89afa94c7",
      "old_mode": 33188,
      "old_path": "tools/building.py",
      "new_id": "e1e087860fa9204f852601f43e29e5ad94d28e43",
      "new_mode": 33188,
      "new_path": "tools/building.py"
    },
    {
      "type": "modify",
      "old_id": "9f0cb8a76b2dc47d8b44d70c1dd6f3be8885c2e6",
      "old_mode": 33261,
      "old_path": "tools/js_optimizer.py",
      "new_id": "8b0195051c964810c7c92c9e0587945dc91dc041",
      "new_mode": 33261,
      "new_path": "tools/js_optimizer.py"
    }
  ]
}
