summaryrefslogtreecommitdiff
path: root/deps/v8/src/compilation-cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compilation-cache.h')
-rw-r--r--deps/v8/src/compilation-cache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/compilation-cache.h b/deps/v8/src/compilation-cache.h
index 7609e7ac38..3a4fe2e7b5 100644
--- a/deps/v8/src/compilation-cache.h
+++ b/deps/v8/src/compilation-cache.h
@@ -220,9 +220,9 @@ class CompilationCache {
// The number of sub caches covering the different types to cache.
static const int kSubCacheCount = 4;
- bool IsEnabled() { return FLAG_compilation_cache && enabled_; }
+ bool IsEnabled() const { return FLAG_compilation_cache && enabled_; }
- Isolate* isolate() { return isolate_; }
+ Isolate* isolate() const { return isolate_; }
Isolate* isolate_;