Hi Slava, Ah ok, thanks for the tip, this is the first thing I should fix. Somebody at work has an x86 macosx box I might be able to use - it's 10.4 at the moment but they've got a snow-leopard upgrade they can do so I'm hoping they'll do this today and I'll get to look at this tonight.
I defo agree that VM as last parameter is ugly but I've done it like that so that I can add vm passing incrementally on each platform. E.g. PPC asm hasn't been modified to pass the vm ptr in function calls yet but factor still works on PPC because the callee can ignore the arg and use the singleton instead. Hope that makes sense. Once PPC is finished I'll move the vm arg to the front of the function calls. N.B. there's a lot of this 'scaffolding' code from my branch mainly because I can't afford big-bang changes as I'm only coding in small chunks (20 mins here and there, ~hour in the evening). Apologies & hope that's ok, Phil Slava Pestov wrote: > Phil, > > The reason Factor crashes on bootstrap is that you need to align the > stack on 16-byte boundaries prior to subroutine calls in the > %vm-invoke-[1234]th-arg hooks. These hooks are also rather ugly to > have around. Why not just always pass the VM object around as the > first parameter? > > Slava > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Factor-talk mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/factor-talk > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
