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

Unified Diff: src/objects.h

Issue 1233073005: Debugger: prepare code for debugging on a per-function basis. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed comments. Created 5 years, 5 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
« no previous file with comments | « src/mips64/assembler-mips64-inl.h ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 5268236cfea5d868e1280c5699ba8afd2b1824a9..4327f653095cf28f3053a6e9066dbb1354d52ee8 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -6668,6 +6668,13 @@ class SharedFunctionInfo: public HeapObject {
inline int start_position_and_type() const;
inline void set_start_position_and_type(int value);
+ // The function is subject to debugging if a debug info is attached.
+ inline bool HasDebugInfo();
+ inline DebugInfo* GetDebugInfo();
+
+ // A function has debug code if the compiled code has debug break slots.
+ inline bool HasDebugCode();
+
// [debug info]: Debug information.
DECL_ACCESSORS(debug_info, Object)
@@ -7253,6 +7260,9 @@ class JSFunction: public JSObject {
// Tells whether this function is builtin.
inline bool IsBuiltin();
+ // Tells whether this function inlines the given shared function info.
+ bool Inlines(SharedFunctionInfo* candidate);
+
// Tells whether this function should be subject to debugging.
inline bool IsSubjectToDebugging();
« no previous file with comments | « src/mips64/assembler-mips64-inl.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698