OSDN Git Service

Dx fit to prevent method arguments from being overwritten by temps.
authorjeffhao <jeffhao@google.com>
Mon, 1 Aug 2011 22:35:05 +0000 (15:35 -0700)
committerjeffhao <jeffhao@google.com>
Mon, 1 Aug 2011 22:35:05 +0000 (15:35 -0700)
commitadb1446cc9ee4b27b053854b54f34ec1b595c727
tree3f75e97d8d14432d732d1ca3c690418df3477ab6
parenta028d87fb310eae8cac821183aa91567ec8cb0f9
Dx fit to prevent method arguments from being overwritten by temps.

This change keeps code debuggable by preventing method arguments from
being reused to hold temporary values. This was a problem especially for
static methods.

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