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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 void RecordGenerator(Handle<JSGeneratorObject> generator_object); | 325 void RecordGenerator(Handle<JSGeneratorObject> generator_object); |
326 | 326 |
327 void RunPromiseHook(PromiseHookType type, Handle<JSPromise> promise, | 327 void RunPromiseHook(PromiseHookType type, Handle<JSPromise> promise, |
328 Handle<Object> parent); | 328 Handle<Object> parent); |
329 | 329 |
330 int NextAsyncTaskId(Handle<JSObject> promise); | 330 int NextAsyncTaskId(Handle<JSObject> promise); |
331 | 331 |
332 bool IsBlackboxed(Handle<SharedFunctionInfo> shared); | 332 bool IsBlackboxed(Handle<SharedFunctionInfo> shared); |
333 | 333 |
334 void SetDebugDelegate(debug::DebugDelegate* delegate, bool pass_ownership); | 334 void SetDebugDelegate(debug::DebugDelegate* delegate, bool pass_ownership); |
| 335 void HandleCallCompleted(); |
335 | 336 |
336 // Returns whether the operation succeeded. | 337 // Returns whether the operation succeeded. |
337 bool EnsureDebugInfo(Handle<SharedFunctionInfo> shared); | 338 bool EnsureDebugInfo(Handle<SharedFunctionInfo> shared); |
338 void CreateDebugInfo(Handle<SharedFunctionInfo> shared); | 339 void CreateDebugInfo(Handle<SharedFunctionInfo> shared); |
339 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared); | 340 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared); |
340 | 341 |
341 template <typename C> | 342 template <typename C> |
342 bool CompileToRevealInnerFunctions(C* compilable); | 343 bool CompileToRevealInnerFunctions(C* compilable); |
343 | 344 |
344 // This function is used in FunctionNameUsing* tests. | 345 // This function is used in FunctionNameUsing* tests. |
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 Handle<Code> code); | 800 Handle<Code> code); |
800 static bool DebugBreakSlotIsPatched(Address pc); | 801 static bool DebugBreakSlotIsPatched(Address pc); |
801 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); | 802 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); |
802 }; | 803 }; |
803 | 804 |
804 | 805 |
805 } // namespace internal | 806 } // namespace internal |
806 } // namespace v8 | 807 } // namespace v8 |
807 | 808 |
808 #endif // V8_DEBUG_DEBUG_H_ | 809 #endif // V8_DEBUG_DEBUG_H_ |
OLD | NEW |