[cfe-dev] CFG initializers and destructors patch
Zhongxing Xu
xuzhongxing at gmail.com
Tue Sep 7 00:41:06 PDT 2010
2010/9/7 Marcin Świderski <marcin.sfider at gmail.com>
>
>
> W dniu 7 września 2010 07:22 użytkownik Zhongxing Xu <
> xuzhongxing at gmail.com> napisał:
>
> I implemented a minimum patch that set up the CFGElement hierarchy based on
>> Marcin's patch.
>>
>> I use 2 pointers directly in CFGElement, because this make logic simpler
>> and we can optimize it anytime later.
>> The first pointer's integer bits are used to mark the main kind of the
>> CFGElement. The second are used to mark the kind of dtors.
>>
>> Scopes are removed since we haven't decided if to include it. Other parts
>> are necessary adaption to the new CFGElement interface.
>>
>> This should be easier to review.
>>
>> Thanks for doing this, I really appreciate. One thing I would add to this
> patch, that won't complicate it but will make code clearer, is a rename in
> CFGBlock from StatementList to ElementList and Statements to Elements.
>
>
OK, patch updated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100907/accd743f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cfg.patch
Type: text/x-patch
Size: 20621 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100907/accd743f/attachment.bin>
More information about the cfe-dev
mailing list