Chromium Code Reviews| Index: vm/dart.h |
| =================================================================== |
| --- vm/dart.h (revision 8145) |
| +++ vm/dart.h (working copy) |
| @@ -33,10 +33,17 @@ |
| } |
| static DebugInfo* pprof_symbol_generator() { return pprof_symbol_generator_; } |
| + static void set_flow_graph_writer(FileWriterFunction writer_function) { |
| + flow_graph_writer_ = writer_function; |
| + } |
| + |
| + static FileWriterFunction flow_graph_writer() { return flow_graph_writer_; } |
| + |
| private: |
| static Isolate* vm_isolate_; |
| static ThreadPool* thread_pool_; |
| static DebugInfo* pprof_symbol_generator_; |
| + static FileWriterFunction flow_graph_writer_; |
|
siva
2012/06/04 18:23:57
If you have this as a static function with a stati
Florian Schneider
2012/06/06 11:06:10
It does not work. I'm fine for now with it workin
siva
2012/06/06 17:02:47
Having one file per isolate is probably the way to
Florian Schneider
2012/06/07 09:32:26
I can add a TODO. I don't think this is a typical
|
| }; |
| } // namespace dart |