From 87b7c52ac660119b8dea46967974b76c86d0750b Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Wed, 8 Apr 2015 10:01:01 +0100 Subject: 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 --- compiler/dex/mir_optimization_test.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'compiler/dex/mir_optimization_test.cc') diff --git a/compiler/dex/mir_optimization_test.cc b/compiler/dex/mir_optimization_test.cc index 9ce5ebbc1b..10a4337cf5 100644 --- a/compiler/dex/mir_optimization_test.cc +++ b/compiler/dex/mir_optimization_test.cc @@ -474,7 +474,6 @@ class SuspendCheckEliminationTest : public MirOptimizationTest { for (BasicBlock* bb = iterator.Next(change); bb != nullptr; bb = iterator.Next(change)) { change = cu_.mir_graph->EliminateSuspendChecks(bb); } - cu_.mir_graph->EliminateSuspendChecksEnd(); } SuspendCheckEliminationTest() -- cgit v1.2.3-59-g8ed1b