| 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 #include "vm/stack_frame.h" | 5 #include "vm/stack_frame.h" |
| 6 | 6 |
| 7 #include "platform/memory_sanitizer.h" | 7 #include "platform/memory_sanitizer.h" |
| 8 #include "vm/assembler.h" | 8 #include "vm/assembler.h" |
| 9 #include "vm/deopt_instructions.h" | 9 #include "vm/deopt_instructions.h" |
| 10 #include "vm/isolate.h" | 10 #include "vm/isolate.h" |
| (...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 559 #else | 559 #else |
| 560 return (index - num_materializations_); | 560 return (index - num_materializations_); |
| 561 #endif | 561 #endif |
| 562 } | 562 } |
| 563 } | 563 } |
| 564 UNREACHABLE(); | 564 UNREACHABLE(); |
| 565 return 0; | 565 return 0; |
| 566 } | 566 } |
| 567 | 567 |
| 568 | 568 |
| 569 #if defined(DEBUG) |
| 570 void ValidateFrames() { |
| 571 StackFrameIterator frames(StackFrameIterator::kValidateFrames); |
| 572 StackFrame* frame = frames.NextFrame(); |
| 573 while (frame != NULL) { |
| 574 frame = frames.NextFrame(); |
| 575 } |
| 576 } |
| 577 #endif |
| 578 |
| 579 |
| 569 } // namespace dart | 580 } // namespace dart |
| OLD | NEW |