commit | c90638f0da1f2fbd403f7b63fe7a2227d47f24b2 | [log] [tgz] |
---|---|---|
author | Santiago Aboy Solanes <solanes@google.com> | Thu Nov 17 15:26:10 2022 +0000 |
committer | Santiago Aboy Solanes <solanes@google.com> | Mon Nov 21 09:07:30 2022 +0000 |
tree | 3df5fdabc301088b726e5e047082b05c42e866fd | |
parent | 1ca951c17652fd89c36798cd7cc9b5a4c254f86e [diff] |
Accept comparison of instance-of with the constant 2 We were assuming that the comparison of the result of an instance-of bytecode with an int constant would be only with 0 or 1. It potentially can be with any other int constant too. Bug: 252804549 Fixes: 252804549 Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b Test: dex2oatd compiling the apps in the bug Change-Id: Ia7d9352fb2074edfb2f74920f74a076f977e5dd4