Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 9301387c76102a9ee87b5aed821278f12efa583b..a8f3e0a7b23fb2fd586f69d86d0290dbe00fef2c 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7338,6 +7338,9 @@ class SharedFunctionInfo: public HeapObject { |
// The function's name if it is non-empty, otherwise the inferred name. |
String* DebugName(); |
+ // The function is blackboxed in debugger. |
+ bool DebugIsBlackboxed(); |
+ |
// The function cannot cause any side effects. |
bool HasNoSideEffect(); |
@@ -7453,6 +7456,12 @@ class SharedFunctionInfo: public HeapObject { |
// Indicates that |has_no_side_effect| has been computed and set. |
DECL_BOOLEAN_ACCESSORS(computed_has_no_side_effect) |
+ // Indicates that the function should be skipped during stepping. |
+ DECL_BOOLEAN_ACCESSORS(debug_is_blackboxed) |
+ |
+ // Indicates that |debug_is_blackboxed| has been computed and set. |
+ DECL_BOOLEAN_ACCESSORS(computed_debug_is_blackboxed) |
+ |
inline FunctionKind kind() const; |
inline void set_kind(FunctionKind kind); |
@@ -7742,6 +7751,8 @@ class SharedFunctionInfo: public HeapObject { |
kIsAsmWasmBroken, |
kHasNoSideEffect, |
kComputedHasNoSideEffect, |
+ kDebugIsBlackboxed, |
+ kComputedDebugIsBlackboxed, |
kCompilerHintsCount, // Pseudo entry |
}; |
// kFunctionKind has to be byte-aligned |