Added DiscriminatedPtr support to arm64