[dmd-internals] Testcase that checks whether variable is allocated on stack programmatically
Iain Buclaw
ibuclaw at ubuntu.com
Wed Mar 27 17:46:53 PDT 2013
On Mar 28, 2013 12:41 AM, "Daniel Murphy" <yebblies at gmail.com> wrote:
>
> You could possibly pass sdg.ptr to the gc (allocsize?) to check if it's
on the heap or not.
>
That could certainly be better. :)
Regards
--
Iain Buclaw
*(p < e ? p++ : p) = (c & 0x0f) + '0';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-internals/attachments/20130328/0dcb10f8/attachment.html>
More information about the dmd-internals
mailing list