Hi guys!This is my simple project I put in attachment. It is a program without optional parameter, and again the same error appears when I want to show a report preview.
On 05/14/2014 04:03 PM, Benoît Minisini wrote:
Le 14/05/2014 15:54, Emil Lenngren a écrit :Can someone print a gambas disassembly of a gambas file (and source code) where this happens? gbc -v File.class will compile the file and print the disassembly if I remember correctly.I think that the crash comes form the implementation of the new IsMissing() function. When a function has optional parameters, it pushes on the stack one 64 bits integer (just after arguments, local variables, and slots for control flow instructions), each bit set indicating that the paramater was not passed to the function. (Quick & dirty implementation, but I didn't find better without breaking too many things...) As the interpreter always unwinds the stack up to the position it had when entering the function, this was not a problem. But for the JIT compiler it may be! Regards,
testJIT.tar.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs
_______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user