)]}'
{
  "commit": "45f5bd2f440d6db5737947434cecdc4ffa37f567",
  "tree": "ba7ee95312f923f97870d84b96f5268c862959c8",
  "parents": [
    "ecb3eb3fdb9536472706c173d00b3379e3332469"
  ],
  "author": {
    "name": "Alon Zakai",
    "email": "azakai@google.com",
    "time": "Wed Oct 18 20:57:04 2023"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Oct 18 20:57:04 2023"
  },
  "message": "SimplifyGlobals: Fold single-use globals to their use (#6023)\n\nFor example,\r\n\r\n(global $a (struct.new $A))\r\n(global $b (struct.new $B (global.get $A)))\r\n\r\n\u003d\u003e\r\n\r\n(global $b (struct.new $B (struct.new $A)))\r\nand the global $a is now unused. This is valid if $a has no other uses.\r\n\r\nThis saves a little in code size, but should not really help otherwise, as we\r\nalready look through immutable global.get operations in important\r\noptimizations. But the code size may matter if there are many such single-\r\nuse globals.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "02e685ca7bb2f62e18f01a91b7122f40561a30aa",
      "old_mode": 33188,
      "old_path": "src/passes/SimplifyGlobals.cpp",
      "new_id": "0e66b59265716d7e8a5b7392ca8f81cc4ea3494a",
      "new_mode": 33188,
      "new_path": "src/passes/SimplifyGlobals.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "daba2588d0bf494e88321c5e264bcfda701e1055",
      "new_mode": 33188,
      "new_path": "test/lit/passes/simplify-globals-single_use.wast"
    }
  ]
}
