Skip to content

Commit 7e21398

Browse files
committed
[embedded] Add SWIFT_IMPORT_UNSAFE annotation to specializeVTableForType
1 parent 0b71280 commit 7e21398

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/swift/SILOptimizer/OptimizerBridging.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,8 @@ struct BridgedPassContext {
254254
SWIFT_IMPORT_UNSAFE
255255
OptionalBridgedValue constantFoldBuiltin(BridgedInstruction builtin) const;
256256

257-
swift::SILVTable *specializeVTableForType(swift::SILType type, BridgedFunction function) const;
257+
SWIFT_IMPORT_UNSAFE
258+
swift::SILVTable * _Nullable specializeVTableForType(swift::SILType type, BridgedFunction function) const;
258259

259260
bool specializeClassMethodInst(BridgedInstruction cm) const;
260261

0 commit comments

Comments
 (0)