Skip to content

Commit eeb50fa

Browse files
committed
Remove argumentValues from RawCounterSamplesTable
I'm not actually sure why I initially put this in here - I think it was just overzealous flow type fixing that I then ported blindly to typescript when I had to update the patches.
1 parent 66e023a commit eeb50fa

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/profile-logic/profile-data.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2262,10 +2262,7 @@ export function filterCounterSamplesToRange(
22622262
count: samples.count.slice(beginSampleIndex, endSampleIndex),
22632263
number: samples.number
22642264
? samples.number.slice(beginSampleIndex, endSampleIndex)
2265-
: undefined,
2266-
argumentValues: samples.argumentValues
2267-
? samples.argumentValues.slice(beginSampleIndex, endSampleIndex)
2268-
: undefined,
2265+
: undefined
22692266
};
22702267

22712268
return newCounter;

src/types/profile.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,6 @@ export type RawCounterSamplesTable = {
513513
number?: number[];
514514
// The count of the data, for instance for memory this would be bytes.
515515
count: number[];
516-
argumentValues?: Array<number | null>;
517516
length: number;
518517
};
519518

0 commit comments

Comments
 (0)