diff options
| author | 2022-11-17 15:26:10 +0000 | |
|---|---|---|
| committer | 2022-11-21 09:07:30 +0000 | |
| commit | c90638f0da1f2fbd403f7b63fe7a2227d47f24b2 (patch) | |
| tree | 3df5fdabc301088b726e5e047082b05c42e866fd /compiler/optimizing/loop_optimization.h | |
| 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
Diffstat (limited to 'compiler/optimizing/loop_optimization.h')
0 files changed, 0 insertions, 0 deletions