Revision cdc4ab5fdc61688193ca0526d08cdfe0e8bbdc11 authored by John McCall on 21 January 2016, 01:09:27 UTC, committed by John McCall on 21 January 2016, 02:37:45 UTC
If we ever add the ability for default arguments to refer to
enclosing variables, we should promote DefaultArgumentInitializer
to be an always-present entity, give it an independent capture
list, and make SILDeclRef refer to it directly.  In fact, we may
want to do that anyway.  Until then, it's a weird special case
in terms of not really being a reference to the function returned
by getAnyFunctionRef().

rdar://24242783
1 parent 9127dfd
Raw File
runtime_statistics.d

pid$target:*:swift_retain:entry
{
        @counts["swift_retain"] = count();
}

pid$target:*:swift_release:entry
{
        @counts["swift_release"] = count();
}

pid$target:*:objc_retain:entry
{
        @counts["objc_retain"] = count();
}

pid$target:*:objc_release:entry
{
        @counts["objc_release"] = count();
}
back to top