File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ FunctionType *Function::getFunctionType() const {
1919
2020void Function::setAlignment (MaybeAlign Align) {
2121 Ctx.getTracker ()
22- .emplaceIfTracking <GenericSetter<&Function::getAlign,
23- &Function::setAlignment>>(this );
24- cast<llvm::GlobalVariable >(Val)->setAlignment (Align);
22+ .emplaceIfTracking <
23+ GenericSetter<&Function::getAlign, &Function::setAlignment>>(this );
24+ cast<llvm::Function >(Val)->setAlignment (Align);
2525}
2626
2727#ifndef NDEBUG
Original file line number Diff line number Diff line change @@ -17,9 +17,7 @@ static bool shouldReduceAlign(GlobalVariable *GV) {
1717 return GV->getAlign ().has_value ();
1818}
1919
20- static bool shouldReduceAlign (Function *F) {
21- return F->getAlign ().has_value ();
22- }
20+ static bool shouldReduceAlign (Function *F) { return F->getAlign ().has_value (); }
2321
2422static bool shouldReduceComdat (GlobalObject &GO) { return GO.hasComdat (); }
2523
You can’t perform that action at this time.
0 commit comments