OSDN Git Service

Make unit test tell if a method is a leaf.
authorNicolas Geoffray <ngeoffray@google.com>
Tue, 22 Jul 2014 16:47:56 +0000 (17:47 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Tue, 22 Jul 2014 16:47:56 +0000 (17:47 +0100)
commit73e80c3ae76fafdb53afe3a85306dcb491fb5b00
tree6c437ad0e24f0ed66251e8f37c13b6e6675db1f2
parent16fc9f617e395758eb95b5f2124c79a828186b55
Make unit test tell if a method is a leaf.

The runtime is not initialized completely in gtests, so we
cannot run code (such as explicit stack overflow checks) that
look at tls values.

Change-Id: I74a4449b01eb203f1b411dda700e9459878d0d55
compiler/optimizing/code_generator.cc
compiler/optimizing/code_generator.h
compiler/optimizing/codegen_test.cc