commit | 4f1a384762bf49fe8f3ecae8dd2bcb0e19d044a9 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Thu Mar 12 10:34:11 2015 +0000 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Thu Mar 12 10:57:47 2015 +0000 |
tree | 3cb359f31e1f3080fb7cfffd5a6fd417f61753d7 | |
parent | d304629202eec2ab053a47fc7bcf10223b5ccea4 [diff] |
Give an expected type to phis created for multiple returns. When inlining, we used to take the type of the inlined method for the phi in case of multiple returns. I recently changed the logic of phi types to only be of int/float/double/ref, so we need to call ToPhiType when creating the phi. Change-Id: I960067ca8a8814509c2a7c52c08387d892ebf4a3