[LLVMdev] allocation_order_begin takes non-const reference for MachineFunction

Anton Vayvod avayvod at gmail.com
Wed Aug 16 09:01:13 PDT 2006


Thanks, Reid.

I've found that some overrides of allocation_order_begin() calls
MachineFunction getInfo method. this method is not const. However, I think
there could be default const implementation (const_cast of non-const method)
and then allocation_order_begin() could be const.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060816/4109a977/attachment.html>


More information about the llvm-dev mailing list