OSDN Git Service

Quick compiler: fix x86 special identity
authorbuzbee <buzbee@google.com>
Wed, 19 Nov 2014 13:26:05 +0000 (05:26 -0800)
committerbuzbee <buzbee@google.com>
Wed, 19 Nov 2014 13:26:05 +0000 (05:26 -0800)
commite8f74e58b476520cfc53970304c67b800994e33d
treedf40c442d18e3b0eab1de365f445ba13d9771063
parente0491682d101c69bf88c3c24a965312129cbfa38
Quick compiler: fix x86 special identity

The Quick compiler recognizes and specially handles a set of
small methods - including those that simply return one of their
arguments.  For x86, special identity was broken if the returned
argument was a double that was passed half in register and half
in memory.

internal b/17325447

Change-Id: I3a766977cdc0b4216d8ad65a9870c3250b32471e
compiler/dex/quick/mir_to_lir.cc
test/083-compiler-regressions/expected.txt
test/083-compiler-regressions/src/Main.java