Index: src/debug/liveedit.cc |
diff --git a/src/debug/liveedit.cc b/src/debug/liveedit.cc |
index 5b04bbc415f3852a646b54eaa61576362af19f6c..fe08607d1007852a074bbdf4e8cbf8a0e7d7ff91 100644 |
--- a/src/debug/liveedit.cc |
+++ b/src/debug/liveedit.cc |
@@ -1680,7 +1680,7 @@ static const char* DropActivationsInActiveThreadImpl(Isolate* isolate, |
if (frame->is_java_script()) { |
SharedFunctionInfo* shared = |
JavaScriptFrame::cast(frame)->function()->shared(); |
- if (shared->is_generator()) { |
+ if (shared->is_resumable()) { |
non_droppable_frame_found = true; |
non_droppable_reason = LiveEdit::FUNCTION_BLOCKED_UNDER_GENERATOR; |
break; |