Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index 1fd3e4023d8a16ec8364d0d42ba5dd3a915f5e38..7a876e71fdff25a491f8641d6e94153ff34c4abb 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -2000,7 +2000,7 @@ void Debug::PrepareForBreakPoints() { |
// If preparing for the first break point make sure to deoptimize all |
// functions as debugging does not work with optimized code. |
if (!has_break_points_) { |
- Deoptimizer::DeoptimizeAll(); |
+ Deoptimizer::DeoptimizeAll(isolate_); |
Handle<Code> lazy_compile = |
Handle<Code>(isolate_->builtins()->builtin(Builtins::kLazyCompile)); |