Inline ClassLinker::ResolveMethod

This gives around 1% performance increase for non-quick interpreter.

It increases the libart.so size by 65k (0.8%).

Test: test-art-host-gtest
Change-Id: Iaef75ee5368936e734c589991fc00cb1834f966f
diff --git a/build/art.go b/build/art.go
index f3cd3ca..0df46b1 100644
--- a/build/art.go
+++ b/build/art.go
@@ -154,7 +154,8 @@
 	if len(ctx.AConfig().SanitizeHost()) > 0 {
 		// art/test/137-cfi/cfi.cc
 		// error: stack frame size of 1944 bytes in function 'Java_Main_unwindInProcess'
-		hostFrameSizeLimit = 6400
+		// error: stack frame size of 6520 bytes in function 'art::interpreter::ExecuteSwitchImplCpp'
+		hostFrameSizeLimit = 7400
 	}
 	cflags = append(cflags,
 		fmt.Sprintf("-Wframe-larger-than=%d", hostFrameSizeLimit),
diff --git a/runtime/class_linker.h b/runtime/class_linker.h
index efe29d3..e044420 100644
--- a/runtime/class_linker.h
+++ b/runtime/class_linker.h
@@ -314,7 +314,10 @@
       REQUIRES_SHARED(Locks::mutator_lock_);
 
   template <ResolveMode kResolveMode>
-  ArtMethod* ResolveMethod(Thread* self, uint32_t method_idx, ArtMethod* referrer, InvokeType type)
+  ALWAYS_INLINE ArtMethod* ResolveMethod(Thread* self,
+                                         uint32_t method_idx,
+                                         ArtMethod* referrer,
+                                         InvokeType type)
       REQUIRES_SHARED(Locks::mutator_lock_)
       REQUIRES(!Locks::dex_lock_, !Roles::uninterruptible_);
   ArtMethod* ResolveMethodWithoutInvokeType(uint32_t method_idx,