summaryrefslogtreecommitdiff
path: root/src/mirror/class.h
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2013-02-05 18:29:08 -0800
committer Ian Rogers <irogers@google.com> 2013-02-05 18:29:08 -0800
commit1ffa32f0be7becec4907b26ead353e4b17e1219c (patch)
tree4b023e55080f75a4945a44588d12bfbb3aec8bd3 /src/mirror/class.h
parentc0fa3ad44a84b7f658d16a717027bf95abc85db6 (diff)
Reduce inlining in debug builds.
Fixes 018-stack-overflow on the host with interpreter. Change-Id: Ieed091b341b7812cfe898421a74d2f41f6a6a8bc
Diffstat (limited to 'src/mirror/class.h')
-rw-r--r--src/mirror/class.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mirror/class.h b/src/mirror/class.h
index 9e440b46a7..afab3141fe 100644
--- a/src/mirror/class.h
+++ b/src/mirror/class.h
@@ -542,7 +542,7 @@ class MANAGED Class : public StaticStorageBase {
// super class or interface, return the specific implementation
// method for this class.
AbstractMethod* FindVirtualMethodForInterface(AbstractMethod* method) const
- SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) __attribute__ ((always_inline, hot));
+ SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) ALWAYS_INLINE;
AbstractMethod* FindInterfaceMethod(const StringPiece& name, const StringPiece& descriptor) const
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);