OSDN Git Service

ART: Save a bit of memory in production LICM
authorDavid Brazdil <dbrazdil@google.com>
Thu, 14 Apr 2016 15:36:15 +0000 (16:36 +0100)
committerDavid Brazdil <dbrazdil@google.com>
Fri, 15 Apr 2016 09:27:47 +0000 (10:27 +0100)
commita2bbdc3d475e3c116f14d70eadfac2b963ec8abc
tree4e3fa97d48b45effb462cea0ebb1bf9bb1543d18
parent1153ae16f243adb30fc8509c619025d30408c74a
ART: Save a bit of memory in production LICM

LICM uses a bit vector to DCHECK that inner loops are visited before
outer loops. Allocate the bit vector only if kIsDebugBuild.

Bug: 28173563
Change-Id: Ic2641607ebe55ad8974de2ebe03973f0bf182e42
(cherry picked from commit aa680e89cf35ac3af7d3344d7960ba2f055e16d8)
compiler/optimizing/licm.cc