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 3380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3391 } else { | 3391 } else { |
3392 *buffer = NULL; | 3392 *buffer = NULL; |
3393 } | 3393 } |
3394 delete debug_region; | 3394 delete debug_region; |
3395 } else { | 3395 } else { |
3396 *buffer = NULL; | 3396 *buffer = NULL; |
3397 *buffer_size = 0; | 3397 *buffer_size = 0; |
3398 } | 3398 } |
3399 } | 3399 } |
3400 | 3400 |
| 3401 |
| 3402 DART_EXPORT void Dart_InitFlowGraphPrinting(FileWriterFunction function) { |
| 3403 Dart::set_flow_graph_writer(function); |
| 3404 } |
| 3405 |
3401 } // namespace dart | 3406 } // namespace dart |
OLD | NEW |