1 This tests the proper register preparation for invoke-polymorphic 2 instructions. The test was written as the invoke-polymorphic bytecodes 3 were mis-annotated in dx as having a return result. This led to a path 4 that did not emit the necessary move instructions and the generated 5 DEX file was rejected by ART. The issue was only visible when dx 6 optimization was enabled, but the problem lay in the OutputFinisher 7 register selection. 8