Skip to content

Commit ba00b22

Browse files
committed
Set flag init val, changed std::string to StringRef
Created using spr 1.3.4
1 parent 37793aa commit ba00b22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bolt/lib/Profile/StaleProfileMatching.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ cl::opt<unsigned> StaleMatchingCostJumpUnknownFTInc(
120120

121121
cl::opt<bool> StaleMatchingWithBlockPseudoProbes(
122122
"stale-matching-with-block-pseudo-probes",
123-
cl::desc("Turns on stale matching with block pseudo probes."), cl::init(3),
124-
cl::ReallyHidden, cl::cat(BoltOptCategory));
123+
cl::desc("Turns on stale matching with block pseudo probes."),
124+
cl::init(false), cl::ReallyHidden, cl::cat(BoltOptCategory));
125125

126126
} // namespace opts
127127

@@ -327,7 +327,7 @@ class StaleMatcher {
327327
}
328328

329329
/// A helper function for logging.
330-
static bool LogErrIfExpr(bool Expr, std::string Message) {
330+
static bool LogErrIfExpr(bool Expr, StringRef Message) {
331331
if (Expr)
332332
errs() << Message;
333333
return Expr;

0 commit comments

Comments
 (0)