OSDN Git Service

Quick compiler: Fix MIPS build
authorbuzbee <buzbee@google.com>
Thu, 28 Aug 2014 20:48:56 +0000 (13:48 -0700)
committerbuzbee <buzbee@google.com>
Thu, 28 Aug 2014 20:48:56 +0000 (13:48 -0700)
commit3a658077af2a931e5d7f6cd22b777c57112c19df
tree7b9baf7793c6b8fbe11d3d9f8d1a1405f7f65c43
parent70644461909a68eb5cd032027ae0eb528143d99c
Quick compiler: Fix MIPS build

In debug builds, the Quick compiler frequently runs a sanity checker
over the register pool.  Among other things, it attempts to verify
consistent representation of register pairs.  However, a register's
"wide" flag is meaningful only when the register pair is associated
with a Dalvik wide value (sreg != INVALID_SREG) rather than a temp
wide value.

The MIPS build was tripping over this bad assertion.  Fixed here.

Note related cl/105461

Change-Id: Id726ff1ea0f5cbcc8dba6fa3aacb3fd4fc043a63
compiler/dex/quick/ralloc_util.cc