diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2019-06-29 23:14:49 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-06-29 23:14:49 +0000 |
commit | 6c1bdc2d5d056f7837f5bccc5312d5d17dd41da1 (patch) | |
tree | ae4e93d29900d780a087dfb022b226dedb828592 | |
parent | 2ae5f9391a94fe9d9ef08597393c179fd6a26610 (diff) | |
parent | 492ed3575e7e7a5878572781937cbab04f27c2d7 (diff) | |
download | art-android10-mainline-release.tar.gz |
Snap for 5698743 from 492ed3575e7e7a5878572781937cbab04f27c2d7 to qt-aml-releaseandroid-mainline-10.0.0_r3android-mainline-10.0.0_r2android-mainline-10.0.0_r1android10-mainline-releaseandroid10-mainline-a-release
Change-Id: I72edff04944337899cb72903fb6309d6bb10cd80
-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); } |