OSDN Git Service

Improved register allocation for check-cast instructions.
authorjeffhao <jeffhao@google.com>
Mon, 28 Feb 2011 19:05:08 +0000 (11:05 -0800)
committerjeffhao <jeffhao@google.com>
Tue, 1 Mar 2011 00:20:48 +0000 (16:20 -0800)
commitb6f966024be7d6dd260735c9e541e23572f26f37
tree11ce83c9e4354caee495f1d25966ea726bf464c5
parent57c4d01d04238b9f99412e96b31583e90fce4caf
Improved register allocation for check-cast instructions.

Check-cast instructions that don't use the same register for source and
destination no longer use an intermediate register due to expansion.
This saves a move instruction and, in some cases, a register.

Change-Id: Ib704fe51ec172e05efbff708e8b63004457cc8cb
dx/src/com/android/dx/ssa/back/FirstFitLocalCombiningAllocator.java