summaryrefslogtreecommitdiff
path: root/test/MultiDexModifiedSecondary
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2015-04-07 19:43:36 +0100
committerVladimir Marko <vmarko@google.com>2015-04-28 19:36:20 +0100
commit22c2d74f4c641feaf22a520d2a0538b31a82239d (patch)
tree23f09bd6b2fff9f309eebb7a5843b180d4143cc5 /test/MultiDexModifiedSecondary
parent6996ce22986ddf19b89c7582973d55b329b1436e (diff)
Quick: Fix crash on fall-through out of method code.
Fix Quick crash when the last insn has a fall-through out of the method's code. Allow creation of an out-of-method block and at the end of MIRGraph::InlineMethod() check if that block is reachable. If it is, punt to interpreter. Add tests for unreachable if-lt and packed-switch as the last insn. Also fix MIRGraph::ProcessCanSwitch() to treat the offset to the data as signed. Jumping over the data with a goto and using it from a switch further down is valid. This was also crashing (presumably only on 64-bit dex2oat). Thanks to Stephen Kyle (stephenckyle@googlemail.com) for the bug report. Bug: 19988134 (cherry picked from commit 2bee20b5f0d783b43c1bbbe281f69a6f9b9e0a98) Change-Id: I8cff7105a66aeb79a91689c3adb216f61ab57e40
Diffstat (limited to 'test/MultiDexModifiedSecondary')
0 files changed, 0 insertions, 0 deletions