commit | 043036f67fa37b3cfa3b05c41e5a824058730378 | [log] [tgz] |
---|---|---|
author | Sebastien Hertz <shertz@google.com> | Mon Sep 09 18:26:48 2013 +0200 |
committer | Sebastien Hertz <shertz@google.com> | Mon Sep 09 20:42:21 2013 +0200 |
tree | c3969fac77984ae17f11c284c757ef929693509b | |
parent | 1eda2268e84d384256814cb6c2ba2440a848f9ed [diff] |
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