[Issue 3463] Integrate Precise Heap Scanning Into the GC
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Sep 16 11:27:24 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3463
--- Comment #80 from nfxjfg at gmail.com 2010-09-16 11:26:43 PDT ---
By the way, if the patch is going to be accepted, it would probably be good to
get rid of the NO_SCAN flags. Instead, NO_SCAN should be detected by examining
the PointerMap. A PointerMap with length 0 could take over the NO_SCAN meaning.
E.g.:
Old code:
bool is_NO_SCAN = !(typeinfo.flags() & 1);
New code:
bool is_NO_SCAN = typeinfo.pointermap().bits.length == 0;
Then you don't need to provide/pass around the TypeInfo.flags() anymore. Would
get rid of some uglyness.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list