| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |