Skip to content

Commit b95b6a4

Browse files
committed
Remove static
1 parent b2ac353 commit b95b6a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Coroutines/CoroAnnotationElide.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ PreservedAnalyses CoroAnnotationElidePass::run(LazyCallGraph::SCC &C,
153153
bool IsCallerPresplitCoroutine = Caller->isPresplitCoroutine();
154154
bool HasAttr = CB->hasFnAttr(llvm::Attribute::CoroElideSafe);
155155
if (IsCallerPresplitCoroutine && HasAttr) {
156-
static BranchProbability MinBranchProbability(
156+
BranchProbability MinBranchProbability(
157157
static_cast<int>(CoroElideBranchRatio * MinBlockCounterExecution),
158158
MinBlockCounterExecution);
159159

0 commit comments

Comments
 (0)