OLD | NEW |
(Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 #ifndef VM_COVERAGE_H_ |
| 6 #define VM_COVERAGE_H_ |
| 7 |
| 8 #include "vm/allocation.h" |
| 9 #include "vm/flags.h" |
| 10 |
| 11 namespace dart { |
| 12 |
| 13 DECLARE_FLAG(bool, print_coverage); |
| 14 |
| 15 // Forward declarations. |
| 16 class Class; |
| 17 class Isolate; |
| 18 class JSONArray; |
| 19 |
| 20 class CodeCoverage : public AllStatic { |
| 21 public: |
| 22 static void Print(Isolate* isolate); |
| 23 |
| 24 private: |
| 25 static void PrintClass(const Class& cls, const JSONArray& arr); |
| 26 }; |
| 27 |
| 28 } // namespace dart |
| 29 |
| 30 #endif // VM_COVERAGE_H_ |
OLD | NEW |