<div>Thanks, Ralph, this line worked well :)</div>
<div> </div>
<div>Here it is, my first patch to LLVM :)</div>
<div> </div>
<div>I've changed all allocation_order_begin() and allocation_order_end() methods to take const MachineFunction &MF as a parameter. I also added const version of MachineFunction::getInfo<Ty>() method. And I changed three static hasFP() functions to take const reference to MachineFunction. 
</div>
<div> </div>
<div>While doing this I've found that some methods of MachineFunction are const but return non-const pointers to MachineFunction internal info. Is that all right?</div>
<div> </div>
<div>Thanks,</div>
<div> </div>
<div>Tony.</div>
<div> </div>
<div>P.S. I've updated llvm from CVS about 20 hour ago.</div>