| 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 "include/dart_api.h" | 5 #include "include/dart_api.h" |
| 6 | 6 |
| 7 #include "vm/bigint_operations.h" | 7 #include "vm/bigint_operations.h" |
| 8 #include "vm/class_finalizer.h" | 8 #include "vm/class_finalizer.h" |
| 9 #include "vm/compiler.h" | 9 #include "vm/compiler.h" |
| 10 #include "vm/dart.h" | 10 #include "vm/dart.h" |
| (...skipping 4133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4144 *buffer = NULL; | 4144 *buffer = NULL; |
| 4145 } | 4145 } |
| 4146 delete debug_region; | 4146 delete debug_region; |
| 4147 } else { | 4147 } else { |
| 4148 *buffer = NULL; | 4148 *buffer = NULL; |
| 4149 *buffer_size = 0; | 4149 *buffer_size = 0; |
| 4150 } | 4150 } |
| 4151 } | 4151 } |
| 4152 | 4152 |
| 4153 | 4153 |
| 4154 DART_EXPORT void Dart_InitFlowGraphPrinting(FileWriterFunction function) { | 4154 DART_EXPORT void Dart_InitPerfEventsSupport(Dart_FileWriterFunction function) { |
| 4155 Dart::set_perf_events_writer(function); |
| 4156 } |
| 4157 |
| 4158 |
| 4159 DART_EXPORT void Dart_InitFlowGraphPrinting(Dart_FileWriterFunction function) { |
| 4155 Dart::set_flow_graph_writer(function); | 4160 Dart::set_flow_graph_writer(function); |
| 4156 } | 4161 } |
| 4157 | 4162 |
| 4158 } // namespace dart | 4163 } // namespace dart |
| OLD | NEW |