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

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

Issue 171513003: Don't forget to subtract materialization instructions when computing the offset of the frame pointe… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add accessor Created 6 years, 10 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/object.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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 ASSERT(!Done()); 279 ASSERT(!Done());
280 return code_.raw(); 280 return code_.raw();
281 } 281 }
282 282
283 intptr_t GetDeoptFpOffset() const; 283 intptr_t GetDeoptFpOffset() const;
284 284
285 private: 285 private:
286 void SetDone() { index_ = -1; } 286 void SetDone() { index_ = -1; }
287 287
288 intptr_t index_; 288 intptr_t index_;
289 intptr_t num_materializations_;
289 Code& code_; 290 Code& code_;
290 DeoptInfo& deopt_info_; 291 DeoptInfo& deopt_info_;
291 Function& function_; 292 Function& function_;
292 uword pc_; 293 uword pc_;
293 GrowableArray<DeoptInstr*> deopt_instructions_; 294 GrowableArray<DeoptInstr*> deopt_instructions_;
294 Array& object_table_; 295 Array& object_table_;
295 296
296 DISALLOW_COPY_AND_ASSIGN(InlinedFunctionsIterator); 297 DISALLOW_COPY_AND_ASSIGN(InlinedFunctionsIterator);
297 }; 298 };
298 299
299 } // namespace dart 300 } // namespace dart
300 301
301 #endif // VM_STACK_FRAME_H_ 302 #endif // VM_STACK_FRAME_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/stack_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698