diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2014-07-22 17:47:56 +0100 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2014-07-22 17:47:56 +0100 |
commit | 73e80c3ae76fafdb53afe3a85306dcb491fb5b00 (patch) | |
tree | 6c437ad0e24f0ed66251e8f37c13b6e6675db1f2 /compiler/optimizing/code_generator.h | |
parent | 16fc9f617e395758eb95b5f2124c79a828186b55 (diff) | |
download | art-73e80c3ae76fafdb53afe3a85306dcb491fb5b00.tar.gz art-73e80c3ae76fafdb53afe3a85306dcb491fb5b00.tar.bz2 art-73e80c3ae76fafdb53afe3a85306dcb491fb5b00.zip |
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
Diffstat (limited to 'compiler/optimizing/code_generator.h')
-rw-r--r-- | compiler/optimizing/code_generator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h index 936ca28901..b31c3a3e83 100644 --- a/compiler/optimizing/code_generator.h +++ b/compiler/optimizing/code_generator.h @@ -70,7 +70,7 @@ class CodeGenerator : public ArenaObject { public: // Compiles the graph to executable instructions. Returns whether the compilation // succeeded. - void CompileBaseline(CodeAllocator* allocator); + void CompileBaseline(CodeAllocator* allocator, bool is_leaf = false); void CompileOptimized(CodeAllocator* allocator); static CodeGenerator* Create(ArenaAllocator* allocator, HGraph* graph, |