)]}'
{
  "commit": "58f700c4382ddf419d78eeb5b3447b4251e31881",
  "tree": "fd885e98c3ddb0694d464681a3f41d6336ca6472",
  "parents": [
    "6cbc6df06a76bdb07dae0057a3191bf21610ab97"
  ],
  "author": {
    "name": "Mayank Patke",
    "email": "fishythefish@google.com",
    "time": "Wed Aug 27 14:33:55 2025 -0700"
  },
  "committer": {
    "name": "Commit Queue",
    "email": "dart-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed Aug 27 14:33:55 2025 -0700"
  },
  "message": "[dart2wasm] Don\u0027t use IDs as keys for export name mapping.\n\nWe have means of serializing References and Constants directly, so it is\nunnecessary to generate IDs as indices. This does cause the export name\nmapping to get split up a little (just as callable reference IDs were\nstored separately from constant export IDs).\n\nThis is because the kernel metadata repositories are serialized by the\nkernel\u0027s BinarySink, which correctly handles Constants, but cannot\nserialize References from the TFA\u0027d component to the metadata of the\nun-TFA\u0027d component. Meanwhile, the dart2wasm DataSerializer can\nserialize these References, but does not handle Constants.\n\nTherefore, the callable reference mapping is stored on the main module\nmetadata (just as callable reference IDs were), while the constant\nmapping is stored in a metadata repository (just as constant IDs were).\n\nThe exporter must then be aware of both of these to be used as a\ncentralized interface.\n\nChange-Id: I1c0fc3eed5a96b3c3e755826749ebd29c3fa2b4b\nReviewed-on: https://dart-review.googlesource.com/c/sdk/+/446990\nReviewed-by: Nate Biggs \u003cnatebiggs@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f2a0fd8b8445c3b9f8757cf26013c22416b9b6fc",
      "old_mode": 33188,
      "old_path": "pkg/dart2wasm/lib/constants.dart",
      "new_id": "fdd0cbee82cdf3a1171df9bc671fe7a5744b2c5e",
      "new_mode": 33188,
      "new_path": "pkg/dart2wasm/lib/constants.dart"
    },
    {
      "type": "modify",
      "old_id": "78bd20a23d9ac107d580fa3fd1481d4e508e3193",
      "old_mode": 33188,
      "old_path": "pkg/dart2wasm/lib/dynamic_module_kernel_metadata.dart",
      "new_id": "f28a6c33359b62a9a58a63ee00dd2712ec21deba",
      "new_mode": 33188,
      "new_path": "pkg/dart2wasm/lib/dynamic_module_kernel_metadata.dart"
    },
    {
      "type": "modify",
      "old_id": "3ed14d41bfb31a4e138ff27148b133998ff2ac3f",
      "old_mode": 33188,
      "old_path": "pkg/dart2wasm/lib/dynamic_modules.dart",
      "new_id": "72e370252141c39493955812cb922f66b2a94f2b",
      "new_mode": 33188,
      "new_path": "pkg/dart2wasm/lib/dynamic_modules.dart"
    },
    {
      "type": "modify",
      "old_id": "104f48831999a7310ee875eb055bffb190a3a1bb",
      "old_mode": 33188,
      "old_path": "pkg/dart2wasm/lib/exports.dart",
      "new_id": "61309bc718d51ac0560c47c226a0b92ecd47d135",
      "new_mode": 33188,
      "new_path": "pkg/dart2wasm/lib/exports.dart"
    },
    {
      "type": "modify",
      "old_id": "5638b84e959d925ed1a0b0c8f9d1c8c0f77df179",
      "old_mode": 33188,
      "old_path": "pkg/dart2wasm/lib/functions.dart",
      "new_id": "96a372fb27e12ecafbfe450035515e54d8465453",
      "new_mode": 33188,
      "new_path": "pkg/dart2wasm/lib/functions.dart"
    },
    {
      "type": "modify",
      "old_id": "a94a9e4d0435b9570e0f543f279d3ed591fe6eb8",
      "old_mode": 33188,
      "old_path": "pkg/dart2wasm/lib/translator.dart",
      "new_id": "e97e26e6d2f5f8a529472e57510b7801093060da",
      "new_mode": 33188,
      "new_path": "pkg/dart2wasm/lib/translator.dart"
    }
  ]
}
