Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: src/deoptimizer.cc

Issue 1332283002: Make FlushICache part of Assembler(Base) and take Isolate as parameter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Try to fix cpu-arm once more Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/deoptimizer.cc
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
index 490237e7bbdb8224993594ed097c5ae4c76d56d2..ac864d0d93ea37ed887c3bef938e8f1e86e4cd3b 100644
--- a/src/deoptimizer.cc
+++ b/src/deoptimizer.cc
@@ -1852,7 +1852,7 @@ void Deoptimizer::EnsureCodeForDeoptimizationEntry(Isolate* isolate,
}
CopyBytes(chunk->area_start(), desc.buffer,
static_cast<size_t>(desc.instr_size));
- CpuFeatures::FlushICache(chunk->area_start(), desc.instr_size);
+ Assembler::FlushICacheWithoutIsolate(chunk->area_start(), desc.instr_size);
Michael Starzinger 2015/09/11 11:40:03 The isolate is available here, let's use it.
Michael Lippautz 2015/09/11 11:54:52 Done.
data->deopt_entry_code_entries_[type] = entry_count;
}

Powered by Google App Engine
This is Rietveld 408576698