Fix compilation.
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 19 Nov 2013 12:14:22 +0000 (12:14 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 19 Nov 2013 12:14:22 +0000 (12:14 +0000)
R=svenpanne@chromium.org
BUG=

Review URL: https://codereview.chromium.org/61163007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17868 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/isolate.h

index 7544a9c..1d45de9 100644 (file)
@@ -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_;
   }