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

Unified Diff: src/assembler.h

Issue 1806853002: Revert "Detect cache line size on Linux for PPC hosts." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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/cpu-arm64.cc ('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 84c3fdcc3fec77e4a18075a66938570cbddc1d78..ca0f00d6f8a3f2f22fbec908af6d05baebfe5427 100644
--- a/src/assembler.h
+++ b/src/assembler.h
@@ -224,14 +224,9 @@ class CpuFeatures : public AllStatic {
static inline bool SupportsCrankshaft();
- static inline unsigned icache_line_size() {
- DCHECK(icache_line_size_ != 0);
- return icache_line_size_;
- }
-
- static inline unsigned dcache_line_size() {
- DCHECK(dcache_line_size_ != 0);
- return dcache_line_size_;
+ static inline unsigned cache_line_size() {
+ DCHECK(cache_line_size_ != 0);
+ return cache_line_size_;
}
static void PrintTarget();
@@ -247,8 +242,7 @@ class CpuFeatures : public AllStatic {
static void ProbeImpl(bool cross_compile);
static unsigned supported_;
- static unsigned icache_line_size_;
- static unsigned dcache_line_size_;
+ static unsigned cache_line_size_;
static bool initialized_;
DISALLOW_COPY_AND_ASSIGN(CpuFeatures);
};
« no previous file with comments | « src/arm64/cpu-arm64.cc ('k') | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698