| Index: src/debug.cc
|
| diff --git a/src/debug.cc b/src/debug.cc
|
| index 4966713baabf7644a48a8de9591699645fc33d8e..bf208b2984385d9f630cd6b135bce56be61eda81 100644
|
| --- a/src/debug.cc
|
| +++ b/src/debug.cc
|
| @@ -1627,7 +1627,7 @@ bool Debug::StepNextContinue(BreakLocationIterator* break_location_iterator,
|
| // object.
|
| bool Debug::IsDebugBreak(Address addr) {
|
| Code* code = Code::GetCodeFromTargetAddress(addr);
|
| - return code->is_debug_break();
|
| + return code->is_debug_stub() && code->extra_ic_state() == DEBUG_BREAK;
|
| }
|
|
|
|
|
| @@ -2047,7 +2047,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_) {
|
| - if (FLAG_parallel_recompilation) {
|
| + if (FLAG_concurrent_recompilation) {
|
| isolate_->optimizing_compiler_thread()->Flush();
|
| }
|
|
|
| @@ -2108,7 +2108,7 @@ void Debug::PrepareForBreakPoints() {
|
| (function->IsMarkedForInstallingRecompiledCode() ||
|
| function->IsInRecompileQueue() ||
|
| function->IsMarkedForLazyRecompilation() ||
|
| - function->IsMarkedForParallelRecompilation())) {
|
| + function->IsMarkedForConcurrentRecompilation())) {
|
| // Abort in-flight compilation.
|
| Code* shared_code = function->shared()->code();
|
| if (shared_code->kind() == Code::FUNCTION &&
|
|
|