[LLVMdev] allocation_order_begin takes non-const reference for MachineFunction

Anton Vayvod avayvod at gmail.com
Wed Aug 16 07:14:26 PDT 2006


Could someone tell me the reason why allocation_order_begin method of
TargetRegisterClass class takes a non-const reference to MachineFunction? I
can't imagine why this method will change function and didn't find any
override within llvm source which uses non-const methods of the MF

Just run into compiler error because I passed a const reference to the

Best regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060816/34ce8094/attachment.html>

More information about the llvm-dev mailing list