Skip to content

Commit 7d5476d

Browse files
committed
Remove some optnone that snuck in.
1 parent 799dba1 commit 7d5476d

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

lib/SILOptimizer/Mandatory/MoveOnlyAddressCheckerUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class DiagnosticEmitter;
2828
void searchForCandidateAddressMarkMustChecks(
2929
SILFunction *fn,
3030
SmallSetVector<MarkMustCheckInst *, 32> &moveIntroducersToProcess,
31-
DiagnosticEmitter &diagnosticEmitter) __attribute__((optnone));
31+
DiagnosticEmitter &diagnosticEmitter);
3232

3333
struct MoveOnlyAddressChecker {
3434
SILFunction *fn;

lib/SILOptimizer/Mandatory/MoveOnlyDiagnostics.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,8 @@ static void getVariableNameForValue(SILValue value2,
159159
}
160160
}
161161

162-
163162
static void getVariableNameForValue(MarkMustCheckInst *mmci,
164-
SmallString<64> &resultingString) __attribute__((optnone)) {
163+
SmallString<64> &resultingString) {
165164
return getVariableNameForValue(mmci, mmci->getOperand(), resultingString);
166165
}
167166

lib/SILOptimizer/Mandatory/MoveOnlyDiagnostics.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class DiagnosticEmitter {
7676
/// way to file a bug.
7777
void emitCheckedMissedCopyError(SILInstruction *copyInst);
7878

79-
void emitCheckerDoesntUnderstandDiagnostic(MarkMustCheckInst *markedValue) __attribute__((optnone));
79+
void emitCheckerDoesntUnderstandDiagnostic(MarkMustCheckInst *markedValue);
8080
void emitObjectGuaranteedDiagnostic(MarkMustCheckInst *markedValue);
8181
void emitObjectOwnedDiagnostic(MarkMustCheckInst *markedValue);
8282

0 commit comments

Comments
 (0)