commit | 05792b98980741111b4d0a24d68cff2a8e070a3a | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Mon Aug 03 11:56:49 2015 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Thu Sep 03 17:30:57 2015 +0100 |
tree | bad79a387bcbdaefc87c07b388099960ca9caff3 | |
parent | c26b4512a01d46756683a4f5e186a0b7f397f251 [diff] [blame] |
ART: Move DexCache arrays to native. This CL has a companion CL in libcore/ https://android-review.googlesource.com/162985 Change-Id: Icbc9e20ad1b565e603195b12714762bb446515fa
diff --git a/compiler/dex/quick/mir_to_lir.h b/compiler/dex/quick/mir_to_lir.h index 73787e9..4e3aab2 100644 --- a/compiler/dex/quick/mir_to_lir.h +++ b/compiler/dex/quick/mir_to_lir.h
@@ -1771,6 +1771,11 @@ return (core_spill_mask_ & (1u << reg)) != 0; } + size_t GetCacheOffset(uint32_t index); + size_t GetCachePointerOffset(uint32_t index, size_t pointer_size); + + void LoadTypeFromCache(uint32_t type_index, RegStorage class_reg); + public: // TODO: add accessors for these. LIR* literal_list_; // Constants.