Skip to content

Commit

Permalink
kram-profile - fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
alecazam committed Mar 9, 2024
1 parent 9c16820 commit 7e36556
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kram-profile/kram-profile/kram_profileApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -959,8 +959,7 @@ func loadFileJS(_ path: String) -> String? {
for i in 0..<catapultProfile.traceEvents!.count {
let event = catapultProfile.traceEvents![i]
if event.name == "Source" ||
event.name == "OptModule" ||
event.name == "DebugType" // these take a while
event.name == "OptModule"
{
// This is a path
let detail = event.args!["detail"]!.value as! String
Expand All @@ -972,7 +971,8 @@ func loadFileJS(_ path: String) -> String? {
else if event.name == "InstantiateFunction" ||
event.name == "InstantiateClass" ||
event.name == "OptFunction" ||
event.name == "ParseClass"
event.name == "ParseClass" ||
event.name == "DebugType" // these take a while
{
// This is a name
let detail = event.args!["detail"]!.value as! String
Expand Down

0 comments on commit 7e36556

Please sign in to comment.