diff options
| author | 2017-03-13 16:22:20 +0000 | |
|---|---|---|
| committer | 2017-03-13 16:22:21 +0000 | |
| commit | b9b8f153de1354d4e4ed2033322c215e5fd26801 (patch) | |
| tree | 0aacaaf1f193e96b55e0b203b678ae724c0fb6f5 /compiler/optimizing/inliner.h | |
| parent | 8f323e09e692ff4f95f40300391fe41fb96a6c49 (diff) | |
| parent | 6374c58f2ea403b3a05fb27376110fe4d0fc8e3f (diff) | |
Merge "Revert "Hash-based DexCache field array.""
Diffstat (limited to 'compiler/optimizing/inliner.h')
| -rw-r--r-- | compiler/optimizing/inliner.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/compiler/optimizing/inliner.h b/compiler/optimizing/inliner.h index a032042c78..8f8b268cb2 100644 --- a/compiler/optimizing/inliner.h +++ b/compiler/optimizing/inliner.h @@ -107,15 +107,14 @@ class HInliner : public HOptimization { REQUIRES_SHARED(Locks::mutator_lock_); // Create a new HInstanceFieldGet. - HInstanceFieldGet* CreateInstanceFieldGet(uint32_t field_index, - ArtMethod* referrer, + HInstanceFieldGet* CreateInstanceFieldGet(Handle<mirror::DexCache> dex_cache, + uint32_t field_index, HInstruction* obj); // Create a new HInstanceFieldSet. - HInstanceFieldSet* CreateInstanceFieldSet(uint32_t field_index, - ArtMethod* referrer, + HInstanceFieldSet* CreateInstanceFieldSet(Handle<mirror::DexCache> dex_cache, + uint32_t field_index, HInstruction* obj, - HInstruction* value, - bool* is_final = nullptr); + HInstruction* value); // Try inlining the invoke instruction using inline caches. bool TryInlineFromInlineCache( |