Skip to content

Commit 263f4d4

Browse files
committed
SILBridging: remove writeCharToStderr
It's not needed
1 parent fc534e1 commit 263f4d4

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

include/swift/SIL/SILBridging.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -996,8 +996,6 @@ void registerFunctionTestThunk(SwiftNativeFunctionTestThunk);
996996
void registerFunctionTest(BridgedStringRef,
997997
void *_Nonnull nativeSwiftInvocation);
998998

999-
void writeCharToStderr(int c);
1000-
1001999
SWIFT_END_NULLABILITY_ANNOTATIONS
10021000

10031001
#ifndef PURE_BRIDGING_MODE

lib/SIL/Utils/SILBridging.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,3 @@ bool BridgedInstruction::mayBeDeinitBarrierNotConsideringSideEffects() const {
444444
return ::mayBeDeinitBarrierNotConsideringSideEffects(unbridged());
445445
}
446446

447-
void writeCharToStderr(int c) {
448-
putc(c, stderr);
449-
}

0 commit comments

Comments
 (0)