Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 0c744caee4a62a2af91a2defd368886be4a9c415..0b7a7ca3bb9414a4e08c4225bed9192ac85ee561 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -8265,9 +8265,6 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_CompileForOnStackReplacement) { |
*interrupt_code, |
*replacement_code); |
- // Allow OSR only at nesting level zero again. |
- unoptimized->set_allow_osr_at_loop_nesting_level(0); |
- |
// If the optimization attempt succeeded, return the AST id tagged as a |
// smi. This tells the builtin that we need to translate the unoptimized |
// frame to an optimized one. |