OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_DEBUG_DEBUG_H_ | 5 #ifndef V8_DEBUG_DEBUG_H_ |
6 #define V8_DEBUG_DEBUG_H_ | 6 #define V8_DEBUG_DEBUG_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
10 #include "src/base/atomicops.h" | 10 #include "src/base/atomicops.h" |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 | 329 |
330 bool IsBlackboxed(Handle<SharedFunctionInfo> shared); | 330 bool IsBlackboxed(Handle<SharedFunctionInfo> shared); |
331 | 331 |
332 void SetDebugDelegate(debug::DebugDelegate* delegate, bool pass_ownership); | 332 void SetDebugDelegate(debug::DebugDelegate* delegate, bool pass_ownership); |
333 | 333 |
334 // Returns whether the operation succeeded. | 334 // Returns whether the operation succeeded. |
335 bool EnsureBreakInfo(Handle<SharedFunctionInfo> shared); | 335 bool EnsureBreakInfo(Handle<SharedFunctionInfo> shared); |
336 void CreateBreakInfo(Handle<SharedFunctionInfo> shared); | 336 void CreateBreakInfo(Handle<SharedFunctionInfo> shared); |
337 Handle<DebugInfo> GetOrCreateDebugInfo(Handle<SharedFunctionInfo> shared); | 337 Handle<DebugInfo> GetOrCreateDebugInfo(Handle<SharedFunctionInfo> shared); |
338 | 338 |
| 339 void InstallCoverageInfo(Handle<SharedFunctionInfo> shared, |
| 340 Handle<CoverageInfo> coverage_info); |
| 341 |
339 template <typename C> | 342 template <typename C> |
340 bool CompileToRevealInnerFunctions(C* compilable); | 343 bool CompileToRevealInnerFunctions(C* compilable); |
341 | 344 |
342 // This function is used in FunctionNameUsing* tests. | 345 // This function is used in FunctionNameUsing* tests. |
343 Handle<Object> FindSharedFunctionInfoInScript(Handle<Script> script, | 346 Handle<Object> FindSharedFunctionInfoInScript(Handle<Script> script, |
344 int position); | 347 int position); |
345 | 348 |
346 static Handle<Object> GetSourceBreakLocations( | 349 static Handle<Object> GetSourceBreakLocations( |
347 Handle<SharedFunctionInfo> shared, | 350 Handle<SharedFunctionInfo> shared, |
348 BreakPositionAlignment position_aligment); | 351 BreakPositionAlignment position_aligment); |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
808 Handle<Code> code); | 811 Handle<Code> code); |
809 static bool DebugBreakSlotIsPatched(Address pc); | 812 static bool DebugBreakSlotIsPatched(Address pc); |
810 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); | 813 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); |
811 }; | 814 }; |
812 | 815 |
813 | 816 |
814 } // namespace internal | 817 } // namespace internal |
815 } // namespace v8 | 818 } // namespace v8 |
816 | 819 |
817 #endif // V8_DEBUG_DEBUG_H_ | 820 #endif // V8_DEBUG_DEBUG_H_ |
OLD | NEW |