mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Runtime: Reenable metatype casting code when ObjC interop is disabled.
Fixes rdar://problem/20583365, and incidentally gets test/Interpreter/layout_reabstraction.swift to work without ObjC interop as well. Swift SVN r27557
This commit is contained in:
@@ -424,7 +424,7 @@ void irgen::emitMetatypeToObjectDowncast(IRGenFunction &IGF,
|
||||
}
|
||||
|
||||
|
||||
/// Emit a checked cast to an Objective-C protocol or protocol composition.
|
||||
/// Emit a checked cast to a protocol or protocol composition.
|
||||
void irgen::emitScalarExistentialDowncast(IRGenFunction &IGF,
|
||||
llvm::Value *value,
|
||||
SILType srcType,
|
||||
|
||||
Reference in New Issue
Block a user