)]}'
{
  "commit": "e05a423e049c8ea0193db1edd681d2f9f39771c9",
  "tree": "515cbe11069726ed76fcef9cd4d79cb11d9d6952",
  "parents": [
    "07b7cfed076131afbb10b695bdcad75023305ace"
  ],
  "author": {
    "name": "Nate Biggs",
    "email": "natebiggs@google.com",
    "time": "Wed Feb 05 19:01:45 2025 -0800"
  },
  "committer": {
    "name": "Commit Queue",
    "email": "dart-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed Feb 05 19:01:45 2025 -0800"
  },
  "message": "[dart2wasm] Avoid extra global definitions for int constants that are wasmI32.\n\nIn a few places we create IntConstants to represent constant fields that are typed as WasmI32. If these are nested within other constants we end up hitting ConstantCreator.visitIntConstant for them. This always generates a global for a BoxedInt constant, whether it\u0027s used or not.\n\nThe global we create goes unused because in constant intiailizer for the outer constant we use the wasmI32 value directly.\n\nAt -O0 this reduced the wasm binary size by ~24k for a simple Flutter app. Binaryen mostly treeshakes these unused globals but I still see a slight improvement even with binaryen running.\n\nChange-Id: I89b8392138269d7322196fa415e56e3062a46088\nReviewed-on: https://dart-review.googlesource.com/c/sdk/+/408121\nCommit-Queue: Nate Biggs \u003cnatebiggs@google.com\u003e\nReviewed-by: Martin Kustermann \u003ckustermann@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "776cba92954dbbd2adb23231ce16e9c175948503",
      "old_mode": 33188,
      "old_path": "pkg/dart2wasm/lib/constants.dart",
      "new_id": "66764e1602bf924d710d18208d02d4369f1875f1",
      "new_mode": 33188,
      "new_path": "pkg/dart2wasm/lib/constants.dart"
    },
    {
      "type": "modify",
      "old_id": "be4af93a2212bd6c6a4646d3e47ae684010c336d",
      "old_mode": 33188,
      "old_path": "pkg/dart2wasm/lib/kernel_nodes.dart",
      "new_id": "366b73a9a37b38b1990553d77f3bea0c06c2f49b",
      "new_mode": 33188,
      "new_path": "pkg/dart2wasm/lib/kernel_nodes.dart"
    },
    {
      "type": "modify",
      "old_id": "837a5e60ddb6d6c6a916e6ced5d34698738ecb26",
      "old_mode": 33188,
      "old_path": "pkg/dart2wasm/lib/types.dart",
      "new_id": "4a0d82e898e8880e28d2458c7032c2fd626e6b9d",
      "new_mode": 33188,
      "new_path": "pkg/dart2wasm/lib/types.dart"
    }
  ]
}
