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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
672 | 672 |
673 ActivationFrame* TopDartFrame() const; | 673 ActivationFrame* TopDartFrame() const; |
674 static ActivationFrame* CollectDartFrame( | 674 static ActivationFrame* CollectDartFrame( |
675 Isolate* isolate, | 675 Isolate* isolate, |
676 uword pc, | 676 uword pc, |
677 StackFrame* frame, | 677 StackFrame* frame, |
678 const Code& code, | 678 const Code& code, |
679 const Array& deopt_frame, | 679 const Array& deopt_frame, |
680 intptr_t deopt_frame_offset, | 680 intptr_t deopt_frame_offset, |
681 ActivationFrame::Kind kind = ActivationFrame::kRegular); | 681 ActivationFrame::Kind kind = ActivationFrame::kRegular); |
| 682 #if !defined(DART_PRECOMPILED_RUNTIME) |
682 static RawArray* DeoptimizeToArray(Thread* thread, | 683 static RawArray* DeoptimizeToArray(Thread* thread, |
683 StackFrame* frame, | 684 StackFrame* frame, |
684 const Code& code); | 685 const Code& code); |
| 686 #endif |
685 // Appends at least one stack frame. Multiple frames will be appended | 687 // Appends at least one stack frame. Multiple frames will be appended |
686 // if |code| at the frame's pc contains inlined functions. | 688 // if |code| at the frame's pc contains inlined functions. |
687 static void AppendCodeFrames(Thread* thread, | 689 static void AppendCodeFrames(Thread* thread, |
688 Isolate* isolate, | 690 Isolate* isolate, |
689 Zone* zone, | 691 Zone* zone, |
690 DebuggerStackTrace* stack_trace, | 692 DebuggerStackTrace* stack_trace, |
691 StackFrame* frame, | 693 StackFrame* frame, |
692 Code* code, | 694 Code* code, |
693 Code* inlined_code, | 695 Code* inlined_code, |
694 Array* deopt_frame); | 696 Array* deopt_frame); |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 | 797 |
796 friend class Isolate; | 798 friend class Isolate; |
797 friend class BreakpointLocation; | 799 friend class BreakpointLocation; |
798 DISALLOW_COPY_AND_ASSIGN(Debugger); | 800 DISALLOW_COPY_AND_ASSIGN(Debugger); |
799 }; | 801 }; |
800 | 802 |
801 | 803 |
802 } // namespace dart | 804 } // namespace dart |
803 | 805 |
804 #endif // RUNTIME_VM_DEBUGGER_H_ | 806 #endif // RUNTIME_VM_DEBUGGER_H_ |
OLD | NEW |