Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Side by Side Diff: vm/dart_api_impl.cc

Issue 10446116: Add flow graph printing into a .cfg file with flag --print-flow-graph-file. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698