summaryrefslogtreecommitdiff
path: root/runtime/art_method.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/art_method.cc')
-rw-r--r--runtime/art_method.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/art_method.cc b/runtime/art_method.cc
index 78eea185a7..fd6c37a4e5 100644
--- a/runtime/art_method.cc
+++ b/runtime/art_method.cc
@@ -108,7 +108,7 @@ size_t ArtMethod::NumArgRegisters(const StringPiece& shorty) {
}
bool ArtMethod::HasSameNameAndSignature(ArtMethod* other) {
- ScopedAssertNoThreadSuspension ants(Thread::Current(), "HasSameNameAndSignature");
+ ScopedAssertNoThreadSuspension ants("HasSameNameAndSignature");
const DexFile* dex_file = GetDexFile();
const DexFile::MethodId& mid = dex_file->GetMethodId(GetDexMethodIndex());
if (GetDexCache() == other->GetDexCache()) {