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/nodes.h | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/optimizing/nodes.h') diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index 25f9e3cb73..09ae6fab84 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -131,6 +131,7 @@ enum GraphAnalysisResult { kAnalysisFailThrowCatchLoop, kAnalysisFailAmbiguousArrayOp, kAnalysisFailIrreducibleLoopAndStringInit, + kAnalysisFailPhiEquivalentInOsr, kAnalysisSuccess, }; -- cgit v1.2.3-59-g8ed1b