Skip to content

Commit 9163017

Browse files
authored
Merge pull request #7819 from jrose-apple/time-for-an-update
2 parents 9cd2dda + c5f452b commit 9163017

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/swift/Basic/Timer.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ namespace swift {
3333
public:
3434
explicit SharedTimer(StringRef name) {
3535
if (CompilationTimersEnabled == State::Enabled)
36-
Timer.emplace(name, StringRef("Swift compilation"), StringRef("swift"),
37-
StringRef("swift related timers"));
36+
Timer.emplace(name, name, "swift", "Swift compilation");
3837
else
3938
CompilationTimersEnabled = State::Skipped;
4039
}

0 commit comments

Comments
 (0)