We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9cd2dda + c5f452b commit 9163017Copy full SHA for 9163017
include/swift/Basic/Timer.h
@@ -33,8 +33,7 @@ namespace swift {
33
public:
34
explicit SharedTimer(StringRef name) {
35
if (CompilationTimersEnabled == State::Enabled)
36
- Timer.emplace(name, StringRef("Swift compilation"), StringRef("swift"),
37
- StringRef("swift related timers"));
+ Timer.emplace(name, name, "swift", "Swift compilation");
38
else
39
CompilationTimersEnabled = State::Skipped;
40
}
0 commit comments