Commit 043036f6 authored by Sebastien Hertz's avatar Sebastien Hertz
Browse files

Add missing memory barrier.

When DEX-to-DEX compiler is not run onto a method (because it's not preverified
at the time of compilation), we do not replace RETURN where a barrier is needed
into RETURN_VOID_BARRIER.
This CL fixes this by placing a barrier on RETURN instruction only when the
checks are enabled (non-preverified method).

Change-Id: I4eb4cf79bb4a74684579c578318e27f62f4d9e8a
parent 1eda2268
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment