diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2019-06-29 23:17:09 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-06-29 23:17:09 +0000 |
commit | dc8b152a38ecc359e56529a074fe6f4331a8290d (patch) | |
tree | ae4e93d29900d780a087dfb022b226dedb828592 | |
parent | df7af976b388a8ad010c68f812ebdaa40c98d324 (diff) | |
parent | 83a42fd1e4ce5d6b1f765b3993b565afe75176d4 (diff) | |
download | art-android10-qpr1-b-release.tar.gz |
Snap for 5698755 from 83a42fd1e4ce5d6b1f765b3993b565afe75176d4 to qt-qpr1-releaseandroid-10.0.0_r29android-10.0.0_r28android-10.0.0_r27android-10.0.0_r26android-10.0.0_r25android-10.0.0_r24android-10.0.0_r23android-10.0.0_r22android-10.0.0_r21android-10.0.0_r20android-10.0.0_r19android-10.0.0_r18android-10.0.0_r16android-10.0.0_r15android10-qpr1-releaseandroid10-qpr1-d-releaseandroid10-qpr1-c-s1-releaseandroid10-qpr1-c-releaseandroid10-qpr1-b-s1-releaseandroid10-qpr1-b-release
Change-Id: If813e211df468e3cc44cec8a5514f44ab573e886
-rw-r--r-- | runtime/jit/jit_code_cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/jit/jit_code_cache.cc b/runtime/jit/jit_code_cache.cc index 333f2da136..a6aefc4773 100644 --- a/runtime/jit/jit_code_cache.cc +++ b/runtime/jit/jit_code_cache.cc @@ -1060,8 +1060,8 @@ uint8_t* JitCodeCache::CommitCodeInternal(Thread* self, } // Invalidate i-cache for the executable mapping. - uint8_t* x_memory = reinterpret_cast<uint8_t*>(method_header); if (cache_flush_success) { + uint8_t* x_memory = reinterpret_cast<uint8_t*>(FromCodeToAllocation(code_ptr)); cache_flush_success = FlushCpuCaches(x_memory, x_memory + total_size); } |