)]}' { "commit": "8e6960569e9de6350d7da89aa02efe0e4b924d6f", "tree": "ac01b8f4319f2274b87ff228ccdd91391ba45724", "parents": [ "a87f1dc5c1b35d5aa37fd23e83e259dae000b1c2" ], "author": { "name": "Ian Rogers", "email": "irogers@google.com", "time": "Mon Mar 04 09:00:40 2013 -0800" }, "committer": { "name": "Ian Rogers", "email": "irogers@google.com", "time": "Mon Mar 04 09:00:40 2013 -0800" }, "message": "Fix bug in GBC expansion wrt invoke return types.\n\nAn invoke may return a value but that value is then unused. In this situation\nmir_to_gbc will see there is no use and generate a call with a void result.\nGBC expansion looks at return types to determine the result of a call, leading\nto it converting void calls back to ones returning ints and causing assertion\nfailures in LLVM.\n\nThis change bases the return type of the expanded call on the type of the call\ninstruction it is expanding.\n\nThe change contains some other minor bits of LLVM codegen clean-up.\n\nChange-Id: Ia49e7308a641c96892df21662a5a04696a955e00\n", "tree_diff": [ { "type": "modify", "old_id": "df83ddcf60535b6614150fb657fb35902624fbd7", "old_mode": 33188, "old_path": "src/compiler_llvm/gbc_expander.cc", "new_id": "4a5d5b04d4f4231aca0f90bb457b0a204a55faab", "new_mode": 33188, "new_path": "src/compiler_llvm/gbc_expander.cc" } ] }