| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index a95fe866d99f8e73170e4fee8740c7cbe616e471..00a228238f98574a0949ba396a29ac32c3d2d220 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -1484,12 +1484,6 @@ MaybeHandle<Code> Compiler::GetOptimizedCode(Handle<JSFunction> function,
|
| return MaybeHandle<Code>();
|
| }
|
|
|
| - // TODO(titzer): Some top-level code times out because of missing interrupt
|
| - // checks at back-branches, these are currently marked with --no-turbo-osr.
|
| - if (shared->is_toplevel() && !FLAG_turbo_osr) {
|
| - return MaybeHandle<Code>();
|
| - }
|
| -
|
| info->SetOptimizing(osr_ast_id, current_code);
|
|
|
| if (mode == CONCURRENT) {
|
|
|