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_H_ | 5 #ifndef V8_DEBUG_H_ |
6 #define V8_DEBUG_H_ | 6 #define V8_DEBUG_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/arguments.h" | 9 #include "src/arguments.h" |
10 #include "src/assembler.h" | 10 #include "src/assembler.h" |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 MUST_USE_RESULT MaybeHandle<Object> MakeCompileEvent( | 522 MUST_USE_RESULT MaybeHandle<Object> MakeCompileEvent( |
523 Handle<Script> script, v8::DebugEvent type); | 523 Handle<Script> script, v8::DebugEvent type); |
524 MUST_USE_RESULT MaybeHandle<Object> MakePromiseEvent( | 524 MUST_USE_RESULT MaybeHandle<Object> MakePromiseEvent( |
525 Handle<JSObject> promise_event); | 525 Handle<JSObject> promise_event); |
526 MUST_USE_RESULT MaybeHandle<Object> MakeAsyncTaskEvent( | 526 MUST_USE_RESULT MaybeHandle<Object> MakeAsyncTaskEvent( |
527 Handle<JSObject> task_event); | 527 Handle<JSObject> task_event); |
528 | 528 |
529 // Mirror cache handling. | 529 // Mirror cache handling. |
530 void ClearMirrorCache(); | 530 void ClearMirrorCache(); |
531 | 531 |
532 // Returns a promise if the pushed try-catch handler matches the current one. | 532 MaybeHandle<Object> PromiseHasUserDefinedRejectHandler( |
533 bool PromiseHasRejectHandler(Handle<JSObject> promise); | 533 Handle<JSObject> promise); |
534 | 534 |
535 void CallEventCallback(v8::DebugEvent event, | 535 void CallEventCallback(v8::DebugEvent event, |
536 Handle<Object> exec_state, | 536 Handle<Object> exec_state, |
537 Handle<Object> event_data, | 537 Handle<Object> event_data, |
538 v8::Debug::ClientData* client_data); | 538 v8::Debug::ClientData* client_data); |
539 void ProcessDebugEvent(v8::DebugEvent event, | 539 void ProcessDebugEvent(v8::DebugEvent event, |
540 Handle<JSObject> event_data, | 540 Handle<JSObject> event_data, |
541 bool auto_continue); | 541 bool auto_continue); |
542 void NotifyMessageHandler(v8::DebugEvent event, | 542 void NotifyMessageHandler(v8::DebugEvent event, |
543 Handle<JSObject> exec_state, | 543 Handle<JSObject> exec_state, |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 // several frames above. | 738 // several frames above. |
739 // There is no calling conventions here, because it never actually gets | 739 // There is no calling conventions here, because it never actually gets |
740 // called, it only gets returned to. | 740 // called, it only gets returned to. |
741 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm); | 741 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm); |
742 }; | 742 }; |
743 | 743 |
744 | 744 |
745 } } // namespace v8::internal | 745 } } // namespace v8::internal |
746 | 746 |
747 #endif // V8_DEBUG_H_ | 747 #endif // V8_DEBUG_H_ |
OLD | NEW |