OSDN Git Service

Fix inlining in the presence of multiple returns.
authorNicolas Geoffray <ngeoffray@google.com>
Tue, 24 Feb 2015 13:35:38 +0000 (13:35 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Tue, 24 Feb 2015 14:44:46 +0000 (14:44 +0000)
commit817bce7658918b7a70c17b70aa5e6a46b1ae8b3d
tree4dc41c5a319d948ff09666cec28f530282191f72
parent0b6daeb0f0014474b542cbba1f713eb0dbefb7f9
Fix inlining in the presence of multiple returns.

One return could actually return a phi, so doing a phi check for
knowing if the result phi was already created was bogus.

Bug: 19454010

Change-Id: Iee703a2d1071ae263092354465eda368e5d6770d
compiler/optimizing/nodes.cc
test/452-multiple-returns2/expected.txt [new file with mode: 0644]
test/452-multiple-returns2/info.txt [new file with mode: 0644]
test/452-multiple-returns2/smali/MultipleReturns.smali [new file with mode: 0644]
test/452-multiple-returns2/src/Main.java [new file with mode: 0644]