From 7cfc8f5b2a7c1af68de5f2e79652cf55954794dc Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Wed, 7 Aug 2019 10:41:09 +0100 Subject: Don't compile OSR methods that have phi equivalents at loop entry. We currently don't handle this in the stack map, where we only encode one stack slot for a dex register. Bug: 136698025 Test: 721-osr Change-Id: Ib395ed1165387ad5446a463c307cc0a45e365885 --- compiler/optimizing/optimizing_compiler_stats.h | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/optimizing/optimizing_compiler_stats.h') diff --git a/compiler/optimizing/optimizing_compiler_stats.h b/compiler/optimizing/optimizing_compiler_stats.h index ddd57f5f1a..83dbef7409 100644 --- a/compiler/optimizing/optimizing_compiler_stats.h +++ b/compiler/optimizing/optimizing_compiler_stats.h @@ -61,6 +61,7 @@ enum class MethodCompilationStat { kNotCompiledVerificationError, kNotCompiledVerifyAtRuntime, kNotCompiledIrreducibleLoopAndStringInit, + kNotCompiledPhiEquivalentInOsr, kInlinedMonomorphicCall, kInlinedPolymorphicCall, kMonomorphicCall, -- cgit v1.2.3-59-g8ed1b