Skip to content

Commit 801a8c3

Browse files
committed
Make variable const (review)
1 parent a70bd41 commit 801a8c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/IPO/FunctionSpecialization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ bool FunctionSpecializer::run() {
643643

644644
// When specializing literal constants is enabled, always require functions
645645
// to be larger than MinFunctionSize, to prevent excessive specialization.
646-
bool RequireMinSize =
646+
const bool RequireMinSize =
647647
!ForceSpecialization &&
648648
(SpecializeLiteralConstant || !F.hasFnAttribute(Attribute::NoInline));
649649

0 commit comments

Comments
 (0)