diff options
author | Mathieu Chartier <mathieuc@google.com> | 2015-05-03 15:20:23 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2015-05-04 09:39:23 -0700 |
commit | 414369a2e3f23e1408fc1cbf4f623014bd95cb8f (patch) | |
tree | 6baba5e4eb1d274c85b03c6c1e036643a0bfb84f /compiler/jit | |
parent | 6f1be4493a558e8dabdc981b37852a2008f7bef1 (diff) | |
download | art-414369a2e3f23e1408fc1cbf4f623014bd95cb8f.zip art-414369a2e3f23e1408fc1cbf4f623014bd95cb8f.tar.gz art-414369a2e3f23e1408fc1cbf4f623014bd95cb8f.tar.bz2 |
Add some more DISALLOW_COPY_AND_ASSIGN
May help prevent bugs maybe.
(cherry picked from commit 3130cdf29eb203be0c38d1107a65d920ec39c106)
Change-Id: Ie73d469dfcd078492ecb3aa28682b42707221202
Diffstat (limited to 'compiler/jit')
-rw-r--r-- | compiler/jit/jit_compiler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/jit/jit_compiler.h b/compiler/jit/jit_compiler.h index 0876499..d9a5ac6 100644 --- a/compiler/jit/jit_compiler.h +++ b/compiler/jit/jit_compiler.h @@ -67,10 +67,11 @@ class JitCompiler { const uint8_t* mapping_table, const uint8_t* vmap_table, const uint8_t* gc_map); bool MakeExecutable(CompiledMethod* compiled_method, mirror::ArtMethod* method) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); + + DISALLOW_COPY_AND_ASSIGN(JitCompiler); }; } // namespace jit - } // namespace art #endif // ART_COMPILER_JIT_JIT_COMPILER_H_ |