On Sat, Apr 14, 2012 at 11:47 AM, Chiheng Xu <chiheng...@gmail.com> wrote: > > And I want to say that tree/gimple/rtl are compiler's data(or state), > not compiler's text(or logic), the most important thing about them is > how to access their fields. >
Given the above assumption, now I doubt the necessity of accessor macros or C++ getter/setter method. Is "tree->code" more direct and efficient than "TREE_CODE(tree)" or "tree->get_code()" ? -- Chiheng Xu