diff options
author | 2016-09-14 16:55:56 +0000 | |
---|---|---|
committer | 2016-09-14 16:55:56 +0000 | |
commit | 26ead4975e1752e8ae2f5ed6fda73876c4f9ff59 (patch) | |
tree | 2ce1b047f54bfb4287483de8eaf79cd12f6058b6 /runtime/entrypoints/entrypoint_utils-inl.h | |
parent | 79f6d706185714dccf80aca20d9f3261337473ae (diff) | |
parent | 268764da8022cafa5661c5b514eaa343c5257e57 (diff) |
Merge "Make ScopedAssertNoThreadSuspension no overhead for non-debug"
Diffstat (limited to 'runtime/entrypoints/entrypoint_utils-inl.h')
-rw-r--r-- | runtime/entrypoints/entrypoint_utils-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/entrypoints/entrypoint_utils-inl.h b/runtime/entrypoints/entrypoint_utils-inl.h index d03a9d80eb..1bf5c5388a 100644 --- a/runtime/entrypoints/entrypoint_utils-inl.h +++ b/runtime/entrypoints/entrypoint_utils-inl.h @@ -48,7 +48,7 @@ inline ArtMethod* GetResolvedMethod(ArtMethod* outer_method, // This method is being used by artQuickResolutionTrampoline, before it sets up // the passed parameters in a GC friendly way. Therefore we must never be // suspended while executing it. - ScopedAssertNoThreadSuspension sants(Thread::Current(), __FUNCTION__); + ScopedAssertNoThreadSuspension sants(__FUNCTION__); uint32_t method_index = inline_info.GetMethodIndexAtDepth(encoding, inlining_depth); InvokeType invoke_type = static_cast<InvokeType>( |