Index: src/debug/debug.cc |
diff --git a/src/debug/debug.cc b/src/debug/debug.cc |
index de9c44079519143b595054d83721e2c61ffb63b3..c2c99f02b66f5fccc5e8a7c22334b2acfa77640f 100644 |
--- a/src/debug/debug.cc |
+++ b/src/debug/debug.cc |
@@ -1250,9 +1250,6 @@ bool Debug::PrepareFunctionForBreakPoints(Handle<SharedFunctionInfo> shared) { |
} |
} |
- // The native context also has a list of OSR'd optimized code. Clear it. |
- isolate_->ClearOSROptimizedCode(); |
- |
// Make sure we abort incremental marking. |
isolate_->heap()->CollectAllGarbage(Heap::kMakeHeapIterableMask, |
GarbageCollectionReason::kDebugger); |