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( |