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

Unified Diff: src/assembler.h

Issue 1480623002: Never call CpuFeatures::FlushICache directly (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years, 1 month 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 | « no previous file | src/mips/assembler-mips.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 89395aafb52b7de77d28ca8a5813c194c7b88ada..6765211acc40926d8199f586681b7374bbf058a8 100644
--- a/src/assembler.h
+++ b/src/assembler.h
@@ -236,17 +236,18 @@ class CpuFeatures : public AllStatic {
static void PrintTarget();
static void PrintFeatures();
+ private:
+ friend class ExternalReference;
+ friend class AssemblerBase;
// Flush instruction cache.
static void FlushICache(void* start, size_t size);
- private:
// Platform-dependent implementation.
static void ProbeImpl(bool cross_compile);
static unsigned supported_;
static unsigned cache_line_size_;
static bool initialized_;
- friend class ExternalReference;
DISALLOW_COPY_AND_ASSIGN(CpuFeatures);
};
« no previous file with comments | « no previous file | src/mips/assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698