Commits

Joe Groff committed 28805f0d2ae
SILGen: Avoid using a stdlib function to get optional values. When we've already established that the optional has a value, using unchecked_take_enum_data_addr to directly extract the enum payload is sufficient and avoids a redundant call and check at -Onone. Keep using the _getOptionalValue stdlib function for checked optional wrapping operations such as "x!", so that the stdlib can remain in control of trap handling policy. Swift SVN r22533