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

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

Issue 26255004: Allow the debugger to inspect local variables from optimized and (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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/deopt_instructions.cc ('k') | runtime/vm/stack_frame.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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_STACK_FRAME_H_ 5 #ifndef VM_STACK_FRAME_H_
6 #define VM_STACK_FRAME_H_ 6 #define VM_STACK_FRAME_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/object.h" 9 #include "vm/object.h"
10 #include "vm/stub_code.h" 10 #include "vm/stub_code.h"
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 uword pc() const { 273 uword pc() const {
274 ASSERT(!Done()); 274 ASSERT(!Done());
275 return pc_; 275 return pc_;
276 } 276 }
277 277
278 RawCode* code() const { 278 RawCode* code() const {
279 ASSERT(!Done()); 279 ASSERT(!Done());
280 return code_.raw(); 280 return code_.raw();
281 } 281 }
282 282
283 intptr_t GetDeoptFpOffset() const;
284
283 private: 285 private:
284 void SetDone() { index_ = -1; } 286 void SetDone() { index_ = -1; }
285 287
286 intptr_t index_; 288 intptr_t index_;
287 Code& code_; 289 Code& code_;
288 DeoptInfo& deopt_info_; 290 DeoptInfo& deopt_info_;
289 Function& function_; 291 Function& function_;
290 uword pc_; 292 uword pc_;
291 GrowableArray<DeoptInstr*> deopt_instructions_; 293 GrowableArray<DeoptInstr*> deopt_instructions_;
292 Array& object_table_; 294 Array& object_table_;
293 295
294 DISALLOW_COPY_AND_ASSIGN(InlinedFunctionsIterator); 296 DISALLOW_COPY_AND_ASSIGN(InlinedFunctionsIterator);
295 }; 297 };
296 298
297 } // namespace dart 299 } // namespace dart
298 300
299 #endif // VM_STACK_FRAME_H_ 301 #endif // VM_STACK_FRAME_H_
OLDNEW
« no previous file with comments | « runtime/vm/deopt_instructions.cc ('k') | runtime/vm/stack_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698