diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2019-06-29 23:19:31 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-06-29 23:19:31 +0000 |
commit | c8f419b02d081c12cd5936ee62f7ec156a5a3ad7 (patch) | |
tree | ae4e93d29900d780a087dfb022b226dedb828592 | |
parent | 570b0d96072e5c08d4f2af43048baa763a129685 (diff) | |
parent | 83a42fd1e4ce5d6b1f765b3993b565afe75176d4 (diff) | |
download | art-android10-c2f2-s2-release.tar.gz |
Snap for 5698755 from 83a42fd1e4ce5d6b1f765b3993b565afe75176d4 to qt-c2f2-releaseandroid-10.0.0_r9android-10.0.0_r8android-10.0.0_r7android-10.0.0_r14android-10.0.0_r13android-10.0.0_r12android10-c2f2-s2-releaseandroid10-c2f2-s1-releaseandroid10-c2f2-release
Change-Id: If8950174fd3c5af15984214add4fcd450b22c4cc
-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); } |