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

Unified Diff: src/assembler.h

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: Fix arm64 PatchingAssembler that initialized its isolate with NULL :) 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
« no previous file with comments | « src/arm64/simulator-arm64.h ('k') | src/assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/assembler.h
diff --git a/src/assembler.h b/src/assembler.h
index a4c19e6b027bbfdddc97bdec2dd5ab02addce19d..9bfda36499ab5ecd969fab4bf23049297ff143ac 100644
--- a/src/assembler.h
+++ b/src/assembler.h
@@ -101,6 +101,11 @@ class AssemblerBase: public Malloced {
static const int kMinimalBufferSize = 4*KB;
+ static void FlushICache(Isolate* isolate, void* start, size_t size);
+
+ // TODO(all): Help get rid of this one.
+ static void FlushICacheWithoutIsolate(void* start, size_t size);
+
protected:
// The buffer into which code and relocation info are generated. It could
// either be owned by the assembler or be provided externally.
« no previous file with comments | « src/arm64/simulator-arm64.h ('k') | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698