From 414369a2e3f23e1408fc1cbf4f623014bd95cb8f Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Sun, 3 May 2015 15:20:23 -0700 Subject: Add some more DISALLOW_COPY_AND_ASSIGN May help prevent bugs maybe. (cherry picked from commit 3130cdf29eb203be0c38d1107a65d920ec39c106) Change-Id: Ie73d469dfcd078492ecb3aa28682b42707221202 --- compiler/jit/jit_compiler.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compiler/jit') 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_ -- cgit v1.1