diff options
Diffstat (limited to 'simpleperf/scripts/report_html.js')
-rw-r--r-- | simpleperf/scripts/report_html.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/simpleperf/scripts/report_html.js b/simpleperf/scripts/report_html.js index f33711bc..40964099 100644 --- a/simpleperf/scripts/report_html.js +++ b/simpleperf/scripts/report_html.js @@ -1615,7 +1615,7 @@ function collectDisassemblyForFunction(func) { let hasCount = false; function addEventCount(addr) { - while (hitAddrPos < hitAddrs.length && BigInt(hitAddrs[hitAddrPos].a) < addr) { + while (hitAddrPos < hitAddrs.length && hitAddrs[hitAddrPos].a < addr) { if (codeForLastAddr) { codeForLastAddr.eventCount += hitAddrs[hitAddrPos].e; codeForLastAddr.subtreeEventCount += hitAddrs[hitAddrPos].s; @@ -1627,7 +1627,7 @@ function collectDisassemblyForFunction(func) { for (let line of rawCode) { let code = line[0]; - let addr = BigInt(line[1]); + let addr = line[1]; addEventCount(addr); let item = {code: code, eventCount: 0, subtreeEventCount: 0}; |