Diego Novillo <[EMAIL PROTECTED]> writes: > But, first, I'd like to know what folks think about this. Would it be > generally useful for us to have the IL data structures auto-generated > this way? I can see the benefits in the reader/writer. But also, we > are going to have to re-implement the reader/writer when we move GIMPLE > out of the tree data structures. OTOH, we will probably change them, > add new codes and having them autogenerated may have other advantages.
If we can use mmap to read the IL--which I personally think is going to be a requirement for speed during the LTO phase--then this issue does not necessarily arise. Rather than see work on this, I personally would prefer to see work toward developing an IL which can be read using mmap (possibly with pointer swizzling during the write phase, which is less time critical). If it turns out that auto-generation is still useful during the write phase, I have no problem with it. Ian