| Index: src/debug/debug-coverage.h
|
| diff --git a/src/debug/debug-coverage.h b/src/debug/debug-coverage.h
|
| index b21622cb2eaf2f55196f8e32bb0fa7131d7e4019..6410b20138ab5687c3e919a396ed160fbe1b6895 100644
|
| --- a/src/debug/debug-coverage.h
|
| +++ b/src/debug/debug-coverage.h
|
| @@ -16,6 +16,13 @@ namespace internal {
|
| // Forward declaration.
|
| class Isolate;
|
|
|
| +struct CoverageBlock {
|
| + CoverageBlock(int s, int e, uint32_t c) : start(s), end(e), count(c) {}
|
| + int start;
|
| + int end;
|
| + uint32_t count;
|
| +};
|
| +
|
| struct CoverageFunction {
|
| CoverageFunction(int s, int e, uint32_t c, Handle<String> n)
|
| : start(s), end(e), count(c), name(n) {}
|
| @@ -23,6 +30,8 @@ struct CoverageFunction {
|
| int end;
|
| uint32_t count;
|
| Handle<String> name;
|
| + // Blocks are sorted by start position, from outer to inner blocks.
|
| + std::vector<CoverageBlock> blocks;
|
| };
|
|
|
| struct CoverageScript {
|
|
|