Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1002)

Side by Side Diff: runtime/vm/debugger.h

Issue 396213005: Fix PcDescriptor iteratot to never return a pointer to a memory location since the data can move wi… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/coverage.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 VM_DEBUGGER_H_ 5 #ifndef VM_DEBUGGER_H_
6 #define VM_DEBUGGER_H_ 6 #define VM_DEBUGGER_H_
7 7
8 #include "include/dart_debugger_api.h" 8 #include "include/dart_debugger_api.h"
9 9
10 #include "vm/object.h" 10 #include "vm/object.h"
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 RawObject* GetClosureObject(intptr_t num_acatual_args); 204 RawObject* GetClosureObject(intptr_t num_acatual_args);
205 205
206 uword pc_; 206 uword pc_;
207 uword fp_; 207 uword fp_;
208 uword sp_; 208 uword sp_;
209 209
210 // The anchor of the context chain for this function. 210 // The anchor of the context chain for this function.
211 Context& ctx_; 211 Context& ctx_;
212 const Code& code_; 212 const Code& code_;
213 const Function& function_; 213 const Function& function_;
214 bool token_pos_initialized_;
214 intptr_t token_pos_; 215 intptr_t token_pos_;
215 const RawPcDescriptors::PcDescriptorRec* desc_rec_; 216 intptr_t try_index_;
216 217
217 intptr_t line_number_; 218 intptr_t line_number_;
218 intptr_t column_number_; 219 intptr_t column_number_;
219 intptr_t context_level_; 220 intptr_t context_level_;
220 221
221 // Some frames are deoptimized into a side array in order to inspect them. 222 // Some frames are deoptimized into a side array in order to inspect them.
222 const Array& deopt_frame_; 223 const Array& deopt_frame_;
223 const intptr_t deopt_frame_offset_; 224 const intptr_t deopt_frame_offset_;
224 225
225 bool vars_initialized_; 226 bool vars_initialized_;
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 546
546 friend class Isolate; 547 friend class Isolate;
547 friend class SourceBreakpoint; 548 friend class SourceBreakpoint;
548 DISALLOW_COPY_AND_ASSIGN(Debugger); 549 DISALLOW_COPY_AND_ASSIGN(Debugger);
549 }; 550 };
550 551
551 552
552 } // namespace dart 553 } // namespace dart
553 554
554 #endif // VM_DEBUGGER_H_ 555 #endif // VM_DEBUGGER_H_
OLDNEW
« no previous file with comments | « runtime/vm/coverage.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698