OSDN Git Service

ART: Materialize constants on environment use
authorDavid Brazdil <dbrazdil@google.com>
Wed, 1 Apr 2015 16:00:59 +0000 (17:00 +0100)
committerDavid Brazdil <dbrazdil@google.com>
Wed, 1 Apr 2015 16:00:59 +0000 (17:00 +0100)
commit0534beb324a74a8c3668c46eaf3d1a4633881b3a
tree28b2cb99d7095a217c4321c9753fb68b434f3718
parent04914da1385564fca1990863d9a2690af10e1946
ART: Materialize constants on environment use

The decision whether to materialize constants assumed that they cannot
be used by an environment. This changed with introduction of the
boolean simplifier and manifested itself when environment uses became
included in liveness analysis. This patch fixes the issue.

This is a quick fix to unblock the build, test will follow.

Bug: 19999189
Change-Id: Iedb1e3a32073a75b9c0d041a88b8ae640e064d13
compiler/optimizing/prepare_for_register_allocation.cc