From 421c53742610c053543f8c84e04d5e0c5185d68c Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Wed, 14 May 2014 14:11:40 -0700 Subject: Address comments from HandleScope change. For: https://android-review.googlesource.com/#/c/93793 Change-Id: I020d22a1508bf4f1770e6806d70e4fbb9a0fa0ab --- runtime/handle_scope-inl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/handle_scope-inl.h') diff --git a/runtime/handle_scope-inl.h b/runtime/handle_scope-inl.h index b9b51fde1e..634f2be666 100644 --- a/runtime/handle_scope-inl.h +++ b/runtime/handle_scope-inl.h @@ -25,7 +25,7 @@ namespace art { template -StackHandleScope::StackHandleScope(Thread* self) +inline StackHandleScope::StackHandleScope(Thread* self) : HandleScope(kNumReferences), self_(self), pos_(0) { // TODO: Figure out how to use a compile assert. DCHECK_EQ(OFFSETOF_MEMBER(HandleScope, references_), @@ -37,7 +37,7 @@ StackHandleScope::StackHandleScope(Thread* self) } template -StackHandleScope::~StackHandleScope() { +inline StackHandleScope::~StackHandleScope() { HandleScope* top_handle_scope = self_->PopHandleScope(); DCHECK_EQ(top_handle_scope, this); } -- cgit v1.2.3-59-g8ed1b