OSDN Git Service

When inlining, also look whether we can allocate registers.
authorNicolas Geoffray <ngeoffray@google.com>
Wed, 17 Dec 2014 23:21:58 +0000 (23:21 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Thu, 18 Dec 2014 12:57:40 +0000 (12:57 +0000)
commit259136f1a8670f533031b7adf7f8908e60f8dd6b
treee227eed3abafc68e4670327b32445608b81e4d6c
parente9231c0aecc013c61b6cf7f88a228204651d4d41
When inlining, also look whether we can allocate registers.

arm and x86 currently don't allocate registers for floating point
and long operations, so we can't inline methods with these operations.

Change-Id: I11e4b97ddbe90f4978f2abe1081fb0f849acb811
compiler/optimizing/inliner.cc
test/437-inline/src/Main.java