| Index: src/debug/debug.h
|
| diff --git a/src/debug/debug.h b/src/debug/debug.h
|
| index 406e2fd1419bb979569441f1d9ebdc8d070b8424..843a8aed5c8645d5fc46dc946d25e8fe31190f69 100644
|
| --- a/src/debug/debug.h
|
| +++ b/src/debug/debug.h
|
| @@ -336,6 +336,10 @@ class Debug {
|
| void CreateBreakInfo(Handle<SharedFunctionInfo> shared);
|
| Handle<DebugInfo> GetOrCreateDebugInfo(Handle<SharedFunctionInfo> shared);
|
|
|
| + void InstallCoverageInfo(Handle<SharedFunctionInfo> shared,
|
| + Handle<CoverageInfo> coverage_info);
|
| + void RemoveAllCoverageInfos();
|
| +
|
| template <typename C>
|
| bool CompileToRevealInnerFunctions(C* compilable);
|
|
|
| @@ -513,6 +517,10 @@ class Debug {
|
|
|
| void PrintBreakLocation();
|
|
|
| + // Wraps logic for clearing and maybe freeing all debug infos.
|
| + typedef std::function<bool(Handle<DebugInfo>)> DebugInfoClearFunction;
|
| + void ClearAllDebugInfos(DebugInfoClearFunction clear_function);
|
| +
|
| void RemoveBreakInfoAndMaybeFree(Handle<DebugInfo> debug_info);
|
| void FindDebugInfo(Handle<DebugInfo> debug_info, DebugInfoListNode** prev,
|
| DebugInfoListNode** curr);
|
|
|