OSDN Git Service

Tidy MethodProtoHelper.
authorIan Rogers <irogers@google.com>
Tue, 28 Oct 2014 16:34:57 +0000 (09:34 -0700)
committerMathieu Chartier <mathieuc@google.com>
Wed, 29 Oct 2014 00:17:22 +0000 (17:17 -0700)
commit473484fac7bd53523f5503176ecc5955325a9731
tree6694af635187b0d147a3d110117e87f7a0c3423b
parentf6db70a540f8816aa5c29442dec42c235697b44b
Tidy MethodProtoHelper.

Move to place of only use, class_linker.cc. Be lazy in computing the name.

Before:
WaitTime: 2699
WaitTime: 2791
WaitTime: 2653
WaitTime: 2929
WaitTime: 2651
WaitTime: 2971

After:
WaitTime: 2749
WaitTime: 2786
WaitTime: 2852
WaitTime: 2856
WaitTime: 2703
WaitTime: 2784

Bug: 18054905
Bug: 16828525

(cherry picked from commit 03b6eafba8ace9a9c4d5ee9c47723d1910ccd7a8)

Change-Id: I1438efbda58369ddd0ac36eda8a5a0a6c6fdff77
runtime/class_linker.cc
runtime/method_helper-inl.h
runtime/method_helper.h
runtime/mirror/art_method-inl.h
runtime/mirror/art_method.cc
runtime/mirror/class.h