| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 "lib/error.h" | |
| 6 | |
| 7 #include "vm/bootstrap_natives.h" | 5 #include "vm/bootstrap_natives.h" |
| 8 #include "vm/exceptions.h" | 6 #include "vm/exceptions.h" |
| 9 #include "vm/object_store.h" | 7 #include "vm/object_store.h" |
| 10 #include "vm/runtime_entry.h" | 8 #include "vm/runtime_entry.h" |
| 11 #include "vm/stack_frame.h" | 9 #include "vm/stack_frame.h" |
| 12 | 10 |
| 13 namespace dart { | 11 namespace dart { |
| 14 | 12 |
| 15 // Get a full stack trace. | 13 // Get a full stack trace. |
| 16 // Arg0: stack trace object. | 14 // Arg0: stack trace object. |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 } | 92 } |
| 95 const Array& func_array = Array::Handle(Array::MakeArray(func_list)); | 93 const Array& func_array = Array::Handle(Array::MakeArray(func_list)); |
| 96 const Array& code_array = Array::Handle(Array::MakeArray(code_list)); | 94 const Array& code_array = Array::Handle(Array::MakeArray(code_list)); |
| 97 const Array& pc_offset_array = | 95 const Array& pc_offset_array = |
| 98 Array::Handle(Array::MakeArray(pc_offset_list)); | 96 Array::Handle(Array::MakeArray(pc_offset_list)); |
| 99 trace.SetCatchStacktrace(func_array, code_array, pc_offset_array); | 97 trace.SetCatchStacktrace(func_array, code_array, pc_offset_array); |
| 100 return Object::null(); | 98 return Object::null(); |
| 101 } | 99 } |
| 102 | 100 |
| 103 } // namespace dart | 101 } // namespace dart |
| OLD | NEW |