| Index: src/debug.cc
|
| diff --git a/src/debug.cc b/src/debug.cc
|
| index a0b9884410f289302d7d74be6e65bfb62ef1a413..127c4e4a6b27287f76188d0c9e8579ddd1d9d7cc 100644
|
| --- a/src/debug.cc
|
| +++ b/src/debug.cc
|
| @@ -2045,6 +2045,10 @@ 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_) {
|
| + if (FLAG_parallel_recompilation) {
|
| + isolate_->optimizing_compiler_thread()->Flush();
|
| + }
|
| +
|
| Deoptimizer::DeoptimizeAll(isolate_);
|
|
|
| Handle<Code> lazy_compile =
|
|
|