We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00b93d1 commit 78c0c62Copy full SHA for 78c0c62
packages/vscode-js-profile-flame/src/client/heap/stacks.tsx
@@ -25,7 +25,7 @@ export class TreeNodeAccessor implements IHeapProfileNode {
25
public readonly src?: ISourceLocation;
26
27
/**
28
- * Gets children of the location.
+ * Gets children of the treeNode.
29
*/
30
public get children() {
31
const children: TreeNodeAccessor[] = [];
@@ -38,10 +38,7 @@ export class TreeNodeAccessor implements IHeapProfileNode {
38
if (rs && typeof rs !== 'number') {
39
children.push(new TreeNodeAccessor(this.model, dx, this.y + 1));
40
}
41
- } while (
42
- ++dx < this.model.length &&
43
- this.model[dx].rows[this.y] === this.model[this.x].rows[this.y]
44
- );
+ } while (++dx < this.model.length && this.model[dx].rows[this.y] === this.x);
45
46
return children;
47
0 commit comments