runtime: rename SwiftValue to _SwiftValue (it is a private class)

This commit is contained in:
Dmitri Gribenko
2016-08-10 15:45:16 -07:00
parent 0b778717ad
commit 783fafa36a
4 changed files with 38 additions and 38 deletions

View File

@@ -139,8 +139,8 @@ extern "C" void _swift_stdlib_makeAnyHashableUpcastingToHashableBaseType(
#if SWIFT_OBJC_INTEROP
id srcObject;
memcpy(&srcObject, value, sizeof(id));
// Do we have a SwiftValue?
if (SwiftValue *srcSwiftValue = getAsSwiftValue(srcObject)) {
// Do we have a _SwiftValue?
if (_SwiftValue *srcSwiftValue = getAsSwiftValue(srcObject)) {
// If so, extract the boxed value and try to cast it.
const Metadata *unboxedType;
const OpaqueValue *unboxedValue;