From b7bbba49d88eae58223d9878da4069bf6d7140bf Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Thu, 13 Oct 2011 14:58:47 -0700 Subject: Add oatopt drop in replacement for dexopt Change-Id: I094375230af2d9a88e30245b390cac71be7b50f4 --- src/utils.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index 7778918bc7..35b350be4e 100644 --- a/src/utils.h +++ b/src/utils.h @@ -212,9 +212,12 @@ pid_t GetTid(); // implementation-defined limit. void SetThreadName(const char* name); -// Returns the art-cache location or dies trying +// Returns the art-cache location, or dies trying. std::string GetArtCacheOrDie(); +// Returns the art-cache location for an OatFile, or dies trying. +std::string GetArtCacheOatFilenameOrDie(const std::string& location); + } // namespace art #endif // ART_SRC_UTILS_H_ -- cgit v1.2.3-59-g8ed1b