On 04 Jan 2012, at 15:12, Sergei Gorelkin wrote:

However, you can as well try the attached simple patch. It prevents temps referenced from 'finally' blocks from being placed to registers.

While I'm not immediately certain how that would be done in the easiest way, it would be best if that were only done for temps that are also used outside the finally block. Temps that are created and destroyed inside the finally block can remain regable without any problems.


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to