)]}' { "commit": "00ca4e5bdfdb759ddb75d1ccda93c432c29855d1", "tree": "b4be5efcc1f85b2dc55f38a48ccf53e56d932188", "parents": [ "0a2b38d082a41a938328c9f453bc1e821726fbe2" ], "author": { "name": "Steven Perron", "email": "stevenperron@google.com", "time": "Tue Dec 10 14:58:30 2019 -0500" }, "committer": { "name": "GitHub", "email": "noreply@github.com", "time": "Tue Dec 10 14:58:30 2019 -0500" }, "message": "Don\u0027t crash when folding construct of empty struct (#3092)\n\n* Don\u0027t crash when folding construct of empty struct\r\n\r\nAn OpCompositeConstruct of an empty struct will be folded to a constant\r\nunder normal circumstances. However, if the id limit has been reached\r\nand the constant cannot be generated, then other folding rules will be\r\ntried.\r\n\r\nThese rules do not handle the case of an empty struct. We add allow it\r\nto be handled.\r\n\r\nFixes http://crbug/1030194\r\n\r\n* Changes based on the review.\r\n", "tree_diff": [ { "type": "modify", "old_id": "d576b090a3eb4902eaf51ed7fae7fa627cd99149", "old_mode": 33188, "old_path": "source/opt/folding_rules.cpp", "new_id": "1c8cdc893fa5539fb852d8d385fce3e7d56c8ee3", "new_mode": 33188, "new_path": "source/opt/folding_rules.cpp" }, { "type": "modify", "old_id": "cc67cd86f94f006caa93d5d0f74ffdc3f8a954f4", "old_mode": 33188, "old_path": "test/opt/fold_test.cpp", "new_id": "26d12201a3f75e1c437dc1aa9769cf45e7eb3ae2", "new_mode": 33188, "new_path": "test/opt/fold_test.cpp" } ] }