Commit 71d29f78 authored by Jakob Gruber's avatar Jakob Gruber Committed by Commit Bot

[nojit] Don't flush the icache in jitless mode

We don't allocate executable memory in jitless mode hence there's no
need to flush the icache.

Bug: v8:7777
Change-Id: I70a1884e6c9f11405465f5741f2eccd4f7a273fb
Reviewed-on: https://chromium-review.googlesource.com/c/1488765
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59887}
parent 226adea4
......@@ -13,6 +13,7 @@ namespace internal {
void FlushInstructionCache(void* start, size_t size) {
if (size == 0) return;
if (FLAG_jitless) return; // There's no executable memory to flush.
#if defined(USE_SIMULATOR)
base::MutexGuard lock_guard(Simulator::i_cache_mutex());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment