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

Unified Diff: src/objects/shared-function-info.h

Issue 2909893002: [debug] Untangle DebugInfo from break point support (Closed)
Patch Set: Address comments Created 3 years, 7 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/objects/debug-objects-inl.h ('k') | src/objects/shared-function-info-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects/shared-function-info.h
diff --git a/src/objects/shared-function-info.h b/src/objects/shared-function-info.h
index ecdcf786c8eef236f565241a2c95c4f8786d6d44..8a68d69d43023a2c50304246534ae0f8c3d2e66e 100644
--- a/src/objects/shared-function-info.h
+++ b/src/objects/shared-function-info.h
@@ -172,6 +172,10 @@ class SharedFunctionInfo : public HeapObject {
inline bool HasDebugInfo() const;
DebugInfo* GetDebugInfo() const;
+ // Break infos are contained in DebugInfo, this is a convenience method
+ // to simplify access.
+ bool HasBreakInfo() const;
+
// A function has debug code if the compiled code has debug break slots.
inline bool HasDebugCode() const;
« no previous file with comments | « src/objects/debug-objects-inl.h ('k') | src/objects/shared-function-info-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698