summaryrefslogtreecommitdiff
path: root/test/656-loop-deopt/src/Main.java
Commit message (Collapse)AuthorAgeFilesLines
* Add a test for b/62688874.Nicolas Geoffray2017-06-261-3/+34
| | | | | | | | | | | The crash in that bug showed we could also leak references with garbage (0xEBADDE09), because mterp uses the same code between RETURN and RETURN_OBJECT. bug: 62688874 bug: 62536525 Test: 656-loop-deopt Change-Id: Ic54009a505dc6e845f5d6c8fedcfe8c10783023c
* Fix loop optimization in the presence of environment uses.Nicolas Geoffray2017-06-221-0/+104
We should not remove instructions that have deoptimize as users, or that have environment uses in a debuggable setup. bug: 62536525 bug: 33775412 Test: 656-loop-deopt Change-Id: Iaec1a0b6e90c6a0169f18c6985f00fd8baf2dece