Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 1e40ac5d9c12f6b253f75530812d4f4bc41573ea..4f15846f62b1d88c652a5c96d064586666ad36bd 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5606,6 +5606,11 @@ bool JSFunction::IsFromExtensionScript() { |
} |
+bool JSFunction::IsSubjectToDebugging() { |
+ return !IsFromNativeScript() && !IsFromExtensionScript(); |
+} |
+ |
+ |
bool JSFunction::NeedsArgumentsAdaption() { |
return shared()->internal_formal_parameter_count() != |
SharedFunctionInfo::kDontAdaptArgumentsSentinel; |