summaryrefslogtreecommitdiffstats
path: root/runtime/verifier/method_verifier.h
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2013-09-23 23:51:32 -0700
committerIan Rogers <irogers@google.com>2013-09-24 17:07:24 -0700
commitfc0e94bed3f88ed7e50854fd8dfaf5dcb345250f (patch)
tree5cfbe05084351576e9659cb8f7b66dcb6163a37b /runtime/verifier/method_verifier.h
parent576fe9d4181c749aa510e32d2521ed4192bdfda0 (diff)
downloadart-fc0e94bed3f88ed7e50854fd8dfaf5dcb345250f.zip
art-fc0e94bed3f88ed7e50854fd8dfaf5dcb345250f.tar.gz
art-fc0e94bed3f88ed7e50854fd8dfaf5dcb345250f.tar.bz2
StringPiece clean up.
Profile guided clean up. Try to avoid creating StringPieces with the contents of a dex file where the length is known. Try to avoid RegTypeCache::FromDescriptor when there's a class available. Make ConstantType::ConstantValue inlinable. Saving of about 50ms from a 2 threaded ThinkFree compile on host. Change-Id: I47a12c3c76f46e2c9805be1c3a3e3870fe1f5d85
Diffstat (limited to 'runtime/verifier/method_verifier.h')
-rw-r--r--runtime/verifier/method_verifier.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/verifier/method_verifier.h b/runtime/verifier/method_verifier.h
index 073a2f7..f143751 100644
--- a/runtime/verifier/method_verifier.h
+++ b/runtime/verifier/method_verifier.h
@@ -688,6 +688,7 @@ class MethodVerifier {
// Its object representation if known.
mirror::ArtMethod* mirror_method_ GUARDED_BY(Locks::mutator_lock_);
const uint32_t method_access_flags_; // Method's access flags.
+ const RegType* return_type_; // Lazily computed return type of the method.
const DexFile* const dex_file_; // The dex file containing the method.
// The dex_cache for the declaring class of the method.
mirror::DexCache* dex_cache_ GUARDED_BY(Locks::mutator_lock_);