| 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 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 667 | 667 |
| 668 ActivationFrame* TopDartFrame() const; | 668 ActivationFrame* TopDartFrame() const; |
| 669 static ActivationFrame* CollectDartFrame( | 669 static ActivationFrame* CollectDartFrame( |
| 670 Isolate* isolate, | 670 Isolate* isolate, |
| 671 uword pc, | 671 uword pc, |
| 672 StackFrame* frame, | 672 StackFrame* frame, |
| 673 const Code& code, | 673 const Code& code, |
| 674 const Array& deopt_frame, | 674 const Array& deopt_frame, |
| 675 intptr_t deopt_frame_offset, | 675 intptr_t deopt_frame_offset, |
| 676 ActivationFrame::Kind kind = ActivationFrame::kRegular); | 676 ActivationFrame::Kind kind = ActivationFrame::kRegular); |
| 677 #if !defined(DART_PRECOMPILED_RUNTIME) | |
| 678 static RawArray* DeoptimizeToArray(Thread* thread, | 677 static RawArray* DeoptimizeToArray(Thread* thread, |
| 679 StackFrame* frame, | 678 StackFrame* frame, |
| 680 const Code& code); | 679 const Code& code); |
| 681 #endif | |
| 682 // Appends at least one stack frame. Multiple frames will be appended | 680 // Appends at least one stack frame. Multiple frames will be appended |
| 683 // if |code| at the frame's pc contains inlined functions. | 681 // if |code| at the frame's pc contains inlined functions. |
| 684 static void AppendCodeFrames(Thread* thread, | 682 static void AppendCodeFrames(Thread* thread, |
| 685 Isolate* isolate, | 683 Isolate* isolate, |
| 686 Zone* zone, | 684 Zone* zone, |
| 687 DebuggerStackTrace* stack_trace, | 685 DebuggerStackTrace* stack_trace, |
| 688 StackFrame* frame, | 686 StackFrame* frame, |
| 689 Code* code, | 687 Code* code, |
| 690 Code* inlined_code, | 688 Code* inlined_code, |
| 691 Array* deopt_frame); | 689 Array* deopt_frame); |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 790 static EventHandler* event_handler_; | 788 static EventHandler* event_handler_; |
| 791 | 789 |
| 792 friend class Isolate; | 790 friend class Isolate; |
| 793 friend class BreakpointLocation; | 791 friend class BreakpointLocation; |
| 794 DISALLOW_COPY_AND_ASSIGN(Debugger); | 792 DISALLOW_COPY_AND_ASSIGN(Debugger); |
| 795 }; | 793 }; |
| 796 | 794 |
| 797 } // namespace dart | 795 } // namespace dart |
| 798 | 796 |
| 799 #endif // RUNTIME_VM_DEBUGGER_H_ | 797 #endif // RUNTIME_VM_DEBUGGER_H_ |
| OLD | NEW |