OSDN Git Service

Check if the type of an instruction is erroneous before inlining.
authorNicolas Geoffray <ngeoffray@google.com>
Fri, 18 Mar 2016 11:36:20 +0000 (11:36 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Mon, 21 Mar 2016 11:23:28 +0000 (11:23 +0000)
commitab5327d3d57d0d3561e697f196da7f2ee2e50290
treeab08ed0f15b8166140baeabd7d4c96239b6a9037
parente4914ec0d83544243257e55d0f0b9da3ed7f147a
Check if the type of an instruction is erroneous before inlining.

We can get HInstructions typed with a class that is in an error state.
For such classes, we cannot look at the vtable or imt table as they
are not cleanly populated.

bug:27683927

Change-Id: I0d64ca470e1cb6cf9b40e9f02bb9b0bb12c2bac1
compiler/optimizing/inliner.cc
test/587-inline-class-error/expected.txt [new file with mode: 0644]
test/587-inline-class-error/info.txt [new file with mode: 0644]
test/587-inline-class-error/smali/SuperVerifyError.smali [new file with mode: 0644]
test/587-inline-class-error/smali/TestCase.smali [new file with mode: 0644]
test/587-inline-class-error/smali/VerifyError.smali [new file with mode: 0644]
test/587-inline-class-error/src/Main.java [new file with mode: 0644]