Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: src/isolate.h

Issue 1773593002: [compiler] Remove support for concurrent OSR. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix release builds. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/ia32/builtins-ia32.cc ('k') | src/mips/builtins-mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <set> 9 #include <set>
10 10
(...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after
989 bool IsDeferredHandle(Object** location); 989 bool IsDeferredHandle(Object** location);
990 #endif // DEBUG 990 #endif // DEBUG
991 991
992 bool concurrent_recompilation_enabled() { 992 bool concurrent_recompilation_enabled() {
993 // Thread is only available with flag enabled. 993 // Thread is only available with flag enabled.
994 DCHECK(optimizing_compile_dispatcher_ == NULL || 994 DCHECK(optimizing_compile_dispatcher_ == NULL ||
995 FLAG_concurrent_recompilation); 995 FLAG_concurrent_recompilation);
996 return optimizing_compile_dispatcher_ != NULL; 996 return optimizing_compile_dispatcher_ != NULL;
997 } 997 }
998 998
999 bool concurrent_osr_enabled() const {
1000 // Thread is only available with flag enabled.
1001 DCHECK(optimizing_compile_dispatcher_ == NULL ||
1002 FLAG_concurrent_recompilation);
1003 return optimizing_compile_dispatcher_ != NULL && FLAG_concurrent_osr;
1004 }
1005
1006 OptimizingCompileDispatcher* optimizing_compile_dispatcher() { 999 OptimizingCompileDispatcher* optimizing_compile_dispatcher() {
1007 return optimizing_compile_dispatcher_; 1000 return optimizing_compile_dispatcher_;
1008 } 1001 }
1009 1002
1010 int id() const { return static_cast<int>(id_); } 1003 int id() const { return static_cast<int>(id_); }
1011 1004
1012 HStatistics* GetHStatistics(); 1005 HStatistics* GetHStatistics();
1013 CompilationStatistics* GetTurboStatistics(); 1006 CompilationStatistics* GetTurboStatistics();
1014 HTracer* GetHTracer(); 1007 HTracer* GetHTracer();
1015 CodeTracer* GetCodeTracer(); 1008 CodeTracer* GetCodeTracer();
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
1573 1566
1574 EmbeddedVector<char, 128> filename_; 1567 EmbeddedVector<char, 128> filename_;
1575 FILE* file_; 1568 FILE* file_;
1576 int scope_depth_; 1569 int scope_depth_;
1577 }; 1570 };
1578 1571
1579 } // namespace internal 1572 } // namespace internal
1580 } // namespace v8 1573 } // namespace v8
1581 1574
1582 #endif // V8_ISOLATE_H_ 1575 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/ia32/builtins-ia32.cc ('k') | src/mips/builtins-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698