http://d.puremagic.com/issues/show_bug.cgi?id=3463



--- Comment #80 from nfx...@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: -------

Reply via email to