Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index 14c1d730d01d6f7b5f8e27b314ec463a9d210443..be0ea98b52e5a554c40445bc85c4ae35fc743aa6 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -2429,6 +2429,7 @@ void Deoptimizer::RevertInterruptCode(Code* unoptimized_code, |
back_edge_cursor += FullCodeGenerator::kBackEdgeEntrySize; |
} |
unoptimized_code->set_back_edges_patched_for_osr(false); |
+ unoptimized_code->set_allow_osr_at_loop_nesting_level(0); |
#ifdef DEBUG |
// Assert that none of the back edges are patched anymore. |
Deoptimizer::VerifyInterruptCode( |