commit | 2ef645ba50544b879a82ea30e606f18c9af98917 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Wed Jun 17 18:20:52 2015 +0100 |
committer | David Brazdil <dbrazdil@google.com> | Wed Jun 17 18:25:03 2015 +0100 |
tree | 25d18676c87c9738624793f2983bc0e87faecf6e | |
parent | 43d154bed3ad0bba766211af1f2637500d30a93f [diff] |
ART: Allow PackedSwitch instructions with zero targets Optimizing and the interpreter wrongly assumed that a PackedSwitch always has at least one target. This patch removes the corresponding DCHECKs and adds a regression test case. This is a resubmission of CL I32b7033ed38de6f1d1a6ee5d5bf12f3a47c9b37e Bug: 21863783 Change-Id: I04e6e124bdd16591ba27c79490e6ce183c36b691