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 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 | 440 |
441 // Check whether this frame is just about to return. | 441 // Check whether this frame is just about to return. |
442 bool IsBreakAtReturn(JavaScriptFrame* frame); | 442 bool IsBreakAtReturn(JavaScriptFrame* frame); |
443 | 443 |
444 // Support for LiveEdit | 444 // Support for LiveEdit |
445 void FramesHaveBeenDropped(StackFrame::Id new_break_frame_id, | 445 void FramesHaveBeenDropped(StackFrame::Id new_break_frame_id, |
446 LiveEdit::FrameDropMode mode, | 446 LiveEdit::FrameDropMode mode, |
447 Object** restarter_frame_function_pointer); | 447 Object** restarter_frame_function_pointer); |
448 | 448 |
449 // Passed to MakeWeak. | 449 // Passed to MakeWeak. |
450 static void HandleWeakDebugInfo( | 450 static void HandlePhantomDebugInfo(const v8::PhantomCallbackData<void>& data); |
451 const v8::WeakCallbackData<v8::Value, void>& data); | |
452 | 451 |
453 // Threading support. | 452 // Threading support. |
454 char* ArchiveDebug(char* to); | 453 char* ArchiveDebug(char* to); |
455 char* RestoreDebug(char* from); | 454 char* RestoreDebug(char* from); |
456 static int ArchiveSpacePerThread(); | 455 static int ArchiveSpacePerThread(); |
457 void FreeThreadResources() { } | 456 void FreeThreadResources() { } |
458 | 457 |
459 // Record function from which eval was called. | 458 // Record function from which eval was called. |
460 static void RecordEvalCaller(Handle<Script> script); | 459 static void RecordEvalCaller(Handle<Script> script); |
461 | 460 |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
763 // several frames above. | 762 // several frames above. |
764 // There is no calling conventions here, because it never actually gets | 763 // There is no calling conventions here, because it never actually gets |
765 // called, it only gets returned to. | 764 // called, it only gets returned to. |
766 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm); | 765 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm); |
767 }; | 766 }; |
768 | 767 |
769 | 768 |
770 } } // namespace v8::internal | 769 } } // namespace v8::internal |
771 | 770 |
772 #endif // V8_DEBUG_H_ | 771 #endif // V8_DEBUG_H_ |
OLD | NEW |