Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: src/objects.h

Issue 2633803002: [inspector] implemented blackboxing inside v8 (Closed)
Patch Set: one more test Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698