diff options
author | 2018-11-27 17:34:31 +0000 | |
---|---|---|
committer | 2018-11-27 18:01:19 +0000 | |
commit | c9de61cf9477e221e0dcc6470de9bf73c0559cf0 (patch) | |
tree | db42f9c3b26d7543b7c378397debfc0595925ba6 /compiler/jit/jit_compiler.h | |
parent | 763cd98161424cf19af2f113a6802f04860dcd6e (diff) |
Revert^2 "Refactor code around JIT creation."
This reverts commit 763cd98161424cf19af2f113a6802f04860dcd6e.
Bug: 119800099
Reason for revert: Updated the DCHECKo take into account current state
of zygote not having a thread pool.
Change-Id: I1181ff85e7aebd062ee892548b80ab3de06a5ac7
Diffstat (limited to 'compiler/jit/jit_compiler.h')
-rw-r--r-- | compiler/jit/jit_compiler.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/compiler/jit/jit_compiler.h b/compiler/jit/jit_compiler.h index 5840fece2e..d201611d79 100644 --- a/compiler/jit/jit_compiler.h +++ b/compiler/jit/jit_compiler.h @@ -43,10 +43,13 @@ class JitCompiler { const CompilerOptions& GetCompilerOptions() const { return *compiler_options_.get(); } + CompilerDriver* GetCompilerDriver() const { return compiler_driver_.get(); } + void ParseCompilerOptions(); + private: std::unique_ptr<CompilerOptions> compiler_options_; std::unique_ptr<CompilerDriver> compiler_driver_; @@ -54,11 +57,6 @@ class JitCompiler { JitCompiler(); - // This is in the compiler since the runtime doesn't have access to the compiled method - // structures. - bool AddToCodeCache(ArtMethod* method, const CompiledMethod* compiled_method) - REQUIRES_SHARED(Locks::mutator_lock_); - DISALLOW_COPY_AND_ASSIGN(JitCompiler); }; |