summaryrefslogtreecommitdiff
path: root/runtime/mirror/class.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2016-09-14 16:55:56 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-09-14 16:55:56 +0000
commit26ead4975e1752e8ae2f5ed6fda73876c4f9ff59 (patch)
tree2ce1b047f54bfb4287483de8eaf79cd12f6058b6 /runtime/mirror/class.cc
parent79f6d706185714dccf80aca20d9f3261337473ae (diff)
parent268764da8022cafa5661c5b514eaa343c5257e57 (diff)
Merge "Make ScopedAssertNoThreadSuspension no overhead for non-debug"
Diffstat (limited to 'runtime/mirror/class.cc')
-rw-r--r--runtime/mirror/class.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/mirror/class.cc b/runtime/mirror/class.cc
index 2132978990..f21baed70f 100644
--- a/runtime/mirror/class.cc
+++ b/runtime/mirror/class.cc
@@ -785,7 +785,7 @@ ArtField* Class::FindStaticField(Thread* self,
}
// Though GetDirectInterface() should not cause thread suspension when called
// from here, it takes a Handle as an argument, so we need to wrap `k`.
- ScopedAssertNoThreadSuspension ants(self, __FUNCTION__);
+ ScopedAssertNoThreadSuspension ants(__FUNCTION__);
StackHandleScope<1> hs(self);
Handle<mirror::Class> h_k(hs.NewHandle(k));
// Is this field in any of this class' interfaces?