Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index 7544a9c21da4a3491c2c48a3881638c417d97b33..1d45de97b8ee88009c9aa8d3183ecc5a3dbbb0d3 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -1108,7 +1108,7 @@ class Isolate { |
return optimizing_compiler_thread_ != NULL; |
} |
- bool concurrent_osr_enabled() { |
+ bool concurrent_osr_enabled() const { |
// Thread is only available with flag enabled. |
ASSERT(optimizing_compiler_thread_ == NULL || |
FLAG_concurrent_recompilation); |
@@ -1119,7 +1119,7 @@ class Isolate { |
return optimizing_compiler_thread_; |
} |
- bool num_sweeper_threads() { |
+ int num_sweeper_threads() const { |
return num_sweeper_threads_; |
} |