OSDN Git Service

ART: Refactor CompileOptimized
authorAndreas Gampe <agampe@google.com>
Fri, 10 Apr 2015 17:49:32 +0000 (10:49 -0700)
committerAndreas Gampe <agampe@google.com>
Fri, 10 Apr 2015 18:06:16 +0000 (11:06 -0700)
commitc2bcafe225d672611284ef247b777b9b19817c7d
treec9414f0b526523df2e380bff2165e7f0cc1009ed
parent6d80318c382a3490ab605b46fa7cb22c5e823fec
ART: Refactor CompileOptimized

Factor out register allocation. Both Clang and GCC inline the
function, but it changes how Clang stack-allocates enough so
that the resulting frame size is below our limit.

Bug: 20139216
Change-Id: I2cf393aed70f2ce0556252b61ae639aacab6f3a7
compiler/optimizing/optimizing_compiler.cc