OSDN Git Service

ART: Add SparseSwitch support to the optimizing compiler
authorAndreas Gampe <agampe@google.com>
Thu, 4 Dec 2014 17:09:57 +0000 (09:09 -0800)
committerAndreas Gampe <agampe@google.com>
Thu, 4 Dec 2014 23:58:34 +0000 (15:58 -0800)
commite4d4d323aa42506351b03e842818e9ec09ea6c37
tree5df6c117bc518a8c4db6777b89b5dfd23a53ed88
parent7c8ce29e97fb7873160ab8895d847e9643a1f8f6
ART: Add SparseSwitch support to the optimizing compiler

Add simple sparse-switch support through chained IFs. Refactor a
bit to better reuse code between switch types.

Now enables compiled versions of 015-switch and 095-switch-MAX_INT.

Bug: 18410979
Change-Id: Ib617e4b877f0b7fbc3bb289800f612f013480713
compiler/optimizing/builder.cc
compiler/optimizing/builder.h