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

Unified Diff: src/compiler.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler.h ('k') | src/flag-definitions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index a31e6a71fbbff3b1d00de103af1eb534c0381d28..6a40ff0aba730fdfd5fd48212645d0b62d247c3f 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -1848,14 +1848,12 @@ Handle<SharedFunctionInfo> Compiler::GetSharedFunctionInfoForNative(
return shared;
}
-MaybeHandle<Code> Compiler::GetOptimizedCodeForOSR(
- Handle<JSFunction> function, Compiler::ConcurrencyMode mode,
- BailoutId osr_ast_id, JavaScriptFrame* osr_frame) {
+MaybeHandle<Code> Compiler::GetOptimizedCodeForOSR(Handle<JSFunction> function,
+ BailoutId osr_ast_id,
+ JavaScriptFrame* osr_frame) {
DCHECK(!osr_ast_id.IsNone());
- // TODO(mstarzinger): Once concurrent OSR is removed, the following check
- // should hold and can be enabled.
- // DCHECK_NOT_NULL(osr_frame);
- return GetOptimizedCode(function, mode, osr_ast_id, osr_frame);
+ DCHECK_NOT_NULL(osr_frame);
+ return GetOptimizedCode(function, NOT_CONCURRENT, osr_ast_id, osr_frame);
}
MaybeHandle<Code> Compiler::GetConcurrentlyOptimizedCode(
« no previous file with comments | « src/compiler.h ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698