From baf0f96d0bee675b6cb7af8ea8e5d13c9c2b9613 Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Tue, 19 Nov 2013 12:14:22 +0000 Subject: [PATCH] Fix compilation. 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/isolate.h b/src/isolate.h index 7544a9c..1d45de9 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_; } -- 2.7.4