Emil Dotchevski wrote: > Luajit builds successfully but I get a NULL pointer passed as the cTValue* > parameter I added to lj_meta_tset, which I'm reasonably sure is wrong. Is > this because the assembly that calls lj_meta_tset doesn't know about the > extra parameter I added? Well, you need to pass the parameter from assembly, too. For vm_ppc.dasc, that's easy: add CARG4, BASE, RA // <-- Add this bl extern lj_meta_tset You need to adapt the invocations in lj_api.c, too: pass the last parameter to the following copyTV(L, o, ...). --Mike