diff options
author | Ian Rogers <irogers@google.com> | 2014-04-28 16:47:08 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-04-29 14:36:28 -0700 |
commit | b0fa5dc7769c1e054032f39de0a3f6d6dd06f8cf (patch) | |
tree | 839d13ebfa7170967dd9b4abd434b7abda53da99 /runtime/class_linker.cc | |
parent | 948740c1938860df055ddc801f20fd1707331e38 (diff) | |
download | art-b0fa5dc7769c1e054032f39de0a3f6d6dd06f8cf.zip art-b0fa5dc7769c1e054032f39de0a3f6d6dd06f8cf.tar.gz art-b0fa5dc7769c1e054032f39de0a3f6d6dd06f8cf.tar.bz2 |
Force inlining on trivial accessors.
Make volatility for GetFieldObject a template parameter.
Move some trivial mirror::String routines to a -inl.h.
Bug: 14285442
Change-Id: Ie23b11d4f18cb15a62c3bbb42837a8aaf6b68f92
Diffstat (limited to 'runtime/class_linker.cc')
-rw-r--r-- | runtime/class_linker.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc index 338133c..583e5e5 100644 --- a/runtime/class_linker.cc +++ b/runtime/class_linker.cc @@ -4053,8 +4053,8 @@ bool ClassLinker::LinkFields(const SirtRef<mirror::Class>& klass, bool is_static LOG(INFO) << "LinkFields: " << (is_static ? "static" : "instance") << " class=" << PrettyClass(klass.get()) << " field=" << PrettyField(field) - << " offset=" << field->GetField32(MemberOffset(mirror::ArtField::OffsetOffset()), - false); + << " offset=" + << field->GetField32(MemberOffset(mirror::ArtField::OffsetOffset())); } FieldHelper fh(field); Primitive::Type type = fh.GetTypeAsPrimitiveType(); |