| Index: src/assembler.h
|
| diff --git a/src/assembler.h b/src/assembler.h
|
| index ca0f00d6f8a3f2f22fbec908af6d05baebfe5427..84c3fdcc3fec77e4a18075a66938570cbddc1d78 100644
|
| --- a/src/assembler.h
|
| +++ b/src/assembler.h
|
| @@ -224,9 +224,14 @@ class CpuFeatures : public AllStatic {
|
|
|
| static inline bool SupportsCrankshaft();
|
|
|
| - static inline unsigned cache_line_size() {
|
| - DCHECK(cache_line_size_ != 0);
|
| - return cache_line_size_;
|
| + 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 void PrintTarget();
|
| @@ -242,7 +247,8 @@ class CpuFeatures : public AllStatic {
|
| static void ProbeImpl(bool cross_compile);
|
|
|
| static unsigned supported_;
|
| - static unsigned cache_line_size_;
|
| + static unsigned icache_line_size_;
|
| + static unsigned dcache_line_size_;
|
| static bool initialized_;
|
| DISALLOW_COPY_AND_ASSIGN(CpuFeatures);
|
| };
|
|
|