diff options
author | 2015-04-08 10:01:01 +0100 | |
---|---|---|
committer | 2015-04-08 16:36:19 +0100 | |
commit | 87b7c52ac660119b8dea46967974b76c86d0750b (patch) | |
tree | 9f80325934dd7568b8288224a155284fea97bd9a /compiler/dex/mir_graph.h | |
parent | 8635e1886f3624154c076cf40cbf182c74e2e0e3 (diff) |
Quick: Clean up temp use counting.
For the boot image on arm64 and x86-64 we're using true
PC-relative addressing, so pc_rel_temp_ is nullptr and
CanUsePcRelDexCacheArrayLoad() returns true, but we're not
actually using the ArtMethod* so fix the AnalyzeMIR() to
take it into account.
Also don't count intrinsic invokes towards ArtMethod* uses.
To avoid repeated method inliner inquiries about whether a
method is intrinsic or special (requiring lock acquisition),
cache that information in MirMethodLoweringInfo. As part of
that cleanup, take quickened invokes into account for
suspend check elimination.
Change-Id: I5b4ec124221c0db1314c8e72675976c110ebe7ca
Diffstat (limited to 'compiler/dex/mir_graph.h')
-rw-r--r-- | compiler/dex/mir_graph.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/dex/mir_graph.h b/compiler/dex/mir_graph.h index d4a9eb938b..d6c4b64708 100644 --- a/compiler/dex/mir_graph.h +++ b/compiler/dex/mir_graph.h @@ -1085,7 +1085,6 @@ class MIRGraph { void EliminateDeadCodeEnd(); bool EliminateSuspendChecksGate(); bool EliminateSuspendChecks(BasicBlock* bb); - void EliminateSuspendChecksEnd(); uint16_t GetGvnIFieldId(MIR* mir) const { DCHECK(IsInstructionIGetOrIPut(mir->dalvikInsn.opcode)); @@ -1408,10 +1407,6 @@ class MIRGraph { uint16_t* sfield_ids; // Ditto. GvnDeadCodeElimination* dce; } gvn; - // Suspend check elimination. - struct { - DexFileMethodInliner* inliner; - } sce; } temp_; static const int kInvalidEntry = -1; ArenaVector<BasicBlock*> block_list_; |