Chromium Code Reviews| Index: runtime/vm/exceptions.cc |
| =================================================================== |
| --- runtime/vm/exceptions.cc (revision 43834) |
| +++ runtime/vm/exceptions.cc (working copy) |
| @@ -106,7 +106,7 @@ |
| virtual bool FullStacktrace() const { return false; } |
| private: |
| - static const int kNumTopframes = 3; |
| + static const int kNumTopframes = Stacktrace::kPreallocatedStackdepth / 2; |
| const Stacktrace& stacktrace_; |
| intptr_t cur_index_; |