OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef RUNTIME_VM_DEBUGGER_H_ | 5 #ifndef RUNTIME_VM_DEBUGGER_H_ |
6 #define RUNTIME_VM_DEBUGGER_H_ | 6 #define RUNTIME_VM_DEBUGGER_H_ |
7 | 7 |
8 #include "include/dart_tools_api.h" | 8 #include "include/dart_tools_api.h" |
9 | 9 |
10 #include "vm/object.h" | 10 #include "vm/object.h" |
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 | 666 |
667 ActivationFrame* TopDartFrame() const; | 667 ActivationFrame* TopDartFrame() const; |
668 static ActivationFrame* CollectDartFrame( | 668 static ActivationFrame* CollectDartFrame( |
669 Isolate* isolate, | 669 Isolate* isolate, |
670 uword pc, | 670 uword pc, |
671 StackFrame* frame, | 671 StackFrame* frame, |
672 const Code& code, | 672 const Code& code, |
673 const Array& deopt_frame, | 673 const Array& deopt_frame, |
674 intptr_t deopt_frame_offset, | 674 intptr_t deopt_frame_offset, |
675 ActivationFrame::Kind kind = ActivationFrame::kRegular); | 675 ActivationFrame::Kind kind = ActivationFrame::kRegular); |
| 676 #if !defined(DART_PRECOMPILED_RUNTIME) |
676 static RawArray* DeoptimizeToArray(Thread* thread, | 677 static RawArray* DeoptimizeToArray(Thread* thread, |
677 StackFrame* frame, | 678 StackFrame* frame, |
678 const Code& code); | 679 const Code& code); |
| 680 #endif |
679 // Appends at least one stack frame. Multiple frames will be appended | 681 // Appends at least one stack frame. Multiple frames will be appended |
680 // if |code| at the frame's pc contains inlined functions. | 682 // if |code| at the frame's pc contains inlined functions. |
681 static void AppendCodeFrames(Thread* thread, | 683 static void AppendCodeFrames(Thread* thread, |
682 Isolate* isolate, | 684 Isolate* isolate, |
683 Zone* zone, | 685 Zone* zone, |
684 DebuggerStackTrace* stack_trace, | 686 DebuggerStackTrace* stack_trace, |
685 StackFrame* frame, | 687 StackFrame* frame, |
686 Code* code, | 688 Code* code, |
687 Code* inlined_code, | 689 Code* inlined_code, |
688 Array* deopt_frame); | 690 Array* deopt_frame); |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 static EventHandler* event_handler_; | 789 static EventHandler* event_handler_; |
788 | 790 |
789 friend class Isolate; | 791 friend class Isolate; |
790 friend class BreakpointLocation; | 792 friend class BreakpointLocation; |
791 DISALLOW_COPY_AND_ASSIGN(Debugger); | 793 DISALLOW_COPY_AND_ASSIGN(Debugger); |
792 }; | 794 }; |
793 | 795 |
794 } // namespace dart | 796 } // namespace dart |
795 | 797 |
796 #endif // RUNTIME_VM_DEBUGGER_H_ | 798 #endif // RUNTIME_VM_DEBUGGER_H_ |
OLD | NEW |