OSDN Git Service

Fix a bug in the linear scan register allocator.
authorNicolas Geoffray <ngeoffray@google.com>
Wed, 26 Nov 2014 18:30:23 +0000 (18:30 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Wed, 26 Nov 2014 19:07:14 +0000 (19:07 +0000)
commit46fbaab1bf2981f2768b046abf43e368663daacd
tree36b8ea48ce8f2a1dafb121b4cf18176f174b8835
parentf2611341d2e45144edd25c90f66834687a043dcc
Fix a bug in the linear scan register allocator.

Triggered by:
org.apache.harmony.tests.java.util.jar.JarFileTest#testGetJarEntry.

By miscompling:
okhttp.CacheControl#parse.

A move occuring just before the first instruction of a block
should not be handled by ConnectSplitSiblings, but by ConnectSiblings
instead.

Change-Id: I8ad409734809e6787bb7321563e1331e7a6906c0
compiler/optimizing/register_allocator.cc