remobjects/pascalscript — pull request #36 by mologie (2013-05-10 15:39:50+00:00)
Title: Fix crash when using class property write helpers with FPC

This patch resolves two issues regarding FPC compatibility:
1) FPC expects pointers to TMethod objects in the next-best register (EDX here). PascalScript used to push the whole TMethod onto the stack. EDX was always zero, resulting in an access violation.
2) Someone forgot commenting out a line in uPSRuntime.pas:10878, leading to inevitable doom after returning from the property write helper.