diff options
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/common_compiler_test.cc | 8 | ||||
| -rw-r--r-- | compiler/common_compiler_test.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/compiler/common_compiler_test.cc b/compiler/common_compiler_test.cc index 18233665cd..db9dcd4b4b 100644 --- a/compiler/common_compiler_test.cc +++ b/compiler/common_compiler_test.cc @@ -367,7 +367,7 @@ void CommonCompilerTest::CompileMethod(mirror::ArtMethod* method) { MakeExecutable(method); } -void CommonCompilerTest::CompileDirectMethod(Handle<mirror::ClassLoader> class_loader, +void CommonCompilerTest::CompileDirectMethod(ConstHandle<mirror::ClassLoader> class_loader, const char* class_name, const char* method_name, const char* signature) { std::string class_descriptor(DotToDescriptor(class_name)); @@ -380,9 +380,9 @@ void CommonCompilerTest::CompileDirectMethod(Handle<mirror::ClassLoader> class_l CompileMethod(method); } -void CommonCompilerTest::CompileVirtualMethod(Handle<mirror::ClassLoader> class_loader, const char* class_name, - const char* method_name, const char* signature) -SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { +void CommonCompilerTest::CompileVirtualMethod(ConstHandle<mirror::ClassLoader> class_loader, + const char* class_name, const char* method_name, + const char* signature) { std::string class_descriptor(DotToDescriptor(class_name)); Thread* self = Thread::Current(); mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); diff --git a/compiler/common_compiler_test.h b/compiler/common_compiler_test.h index df06b71c7d..4e74f0a521 100644 --- a/compiler/common_compiler_test.h +++ b/compiler/common_compiler_test.h @@ -63,11 +63,11 @@ class CommonCompilerTest : public CommonRuntimeTest { void CompileMethod(mirror::ArtMethod* method) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); - void CompileDirectMethod(Handle<mirror::ClassLoader> class_loader, const char* class_name, + void CompileDirectMethod(ConstHandle<mirror::ClassLoader> class_loader, const char* class_name, const char* method_name, const char* signature) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); - void CompileVirtualMethod(Handle<mirror::ClassLoader> class_loader, const char* class_name, + void CompileVirtualMethod(ConstHandle<mirror::ClassLoader> class_loader, const char* class_name, const char* method_name, const char* signature) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); |