OSDN Git Service

Bug fix for polymorphic inlining.
authorNicolas Geoffray <ngeoffray@google.com>
Mon, 29 Feb 2016 11:46:58 +0000 (11:46 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Mon, 29 Feb 2016 12:17:52 +0000 (12:17 +0000)
commita1d8ddfaf09545f99bc326dff97ab604d4574eb6
treec4a9893ac195928397c91a84223e2e011cd059bd
parenta48224f32797b234f07d78fbbede5edbb212ceab
Bug fix for polymorphic inlining.

The code used to wrongly propagate try/catch information to
new blocks. Since it has the same logic as Hraph::InlineInto,
extract the code that updates loop and try/catch information
to blocks to a shared method.

bug:27330865
bug:27372101
bug:27360329

Change-Id: I4386f724d8d412bde5bcc04fda6955bc3bacf5a9
compiler/optimizing/inliner.cc
compiler/optimizing/nodes.cc
compiler/optimizing/nodes.h
test/578-polymorphic-inlining/expected.txt [new file with mode: 0644]
test/578-polymorphic-inlining/info.txt [new file with mode: 0644]
test/578-polymorphic-inlining/src/Main.java [new file with mode: 0644]