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