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:
Joe Groff
2015-04-22 03:49:12 +00:00
parent 3f241bb80a
commit 86157d533e
4 changed files with 2 additions and 15 deletions

View File

@@ -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,