History log of /art/test/519-bound-load-class/src/Main.java
Revision Date Author Comments
7d5ea03b2a7d886325b3ad97942038c2336aa855 02-Jul-2015 Nicolas Geoffray <ngeoffray@google.com> Do not create a HBoundType when the instruction is non-null.

We don't need to refine the type after a null check, if the
instruction is known non null or null. As a side effect, this
avoids replacing HLoadClass instructions with HBoundType instructions.

bug:22116987

(cherry picked from commit 3abd437507f8ba30a238a52c273c9944dcb9d5a1)

Change-Id: I5e56de293554534195ade9770b7d1e4b078d685b
3abd437507f8ba30a238a52c273c9944dcb9d5a1 02-Jul-2015 Nicolas Geoffray <ngeoffray@google.com> Do not create a HBoundType when the instruction is non-null.

We don't need to refine the type after a null check, if the
instruction is known non null or null. As a side effect, this
avoids replacing HLoadClass instructions with HBoundType instructions.

bug:22116987

Change-Id: I565ae95db5a64faec30e026674636e398e0bf445
b7a4790e5a2884e62f6dc85aca1455b145e2a7db 29-Jun-2015 Nicolas Geoffray <ngeoffray@google.com> Revert "Revert "Do not update the type of something we already know.""

This reverts commit 63107a804ce17db9789051e1fe310d99d1dae1cb.

bug:22116987

(cherry picked from commit f9a199571417b5a5a62d94d05a064077e14dd2c4)

Change-Id: Ia516f2cbce6d22df37f3a0854abdd0b54d3ea72d
f9a199571417b5a5a62d94d05a064077e14dd2c4 29-Jun-2015 Nicolas Geoffray <ngeoffray@google.com> Revert "Revert "Do not update the type of something we already know.""

This reverts commit 63107a804ce17db9789051e1fe310d99d1dae1cb.

bug:22116987
Change-Id: I49a376a5bd2073a69babe122ec0d26e5d2f82461
63107a804ce17db9789051e1fe310d99d1dae1cb 29-Jun-2015 Calin Juravle <calin@google.com> Revert "Do not update the type of something we already know."

This reverts commit 30eb58c548bee08468f68eb140a74a51dd7d9b43.

Change-Id: Icd959e868160fc3ee7031dd2927554ac5b21d40f
30eb58c548bee08468f68eb140a74a51dd7d9b43 29-Jun-2015 Nicolas Geoffray <ngeoffray@google.com> Do not update the type of something we already know.

This is both an optimization to avoid unneeded nodes,
and correctness to avoid replacing the second input
of `HInstanceOf` and `HCheckCast` to something that is
not `HLoadClass`.

bug:22116987

Change-Id: I4907197a9002883d7cae8265a9642512b6201396