Hi Michael,

Could you please point me in the right direction to go about getting
alloca into jolt-burg?  I've gotten the Pepsi side of things to work
with only bindv (excising bind and bind2), but I don't have a nice way
to make the Jolt side work unless I can allocate struct __sends on the
stack.

I suggest you allocate them statically. Do the malloc() of the struct _send from within the send syntax, and treat the address as a constant in the expansion. Unlike the C version, you can pre-fill selector and argument count immediately after allocation (they are constants while expanding the send) to eliminate the two corresponding writes at each send site.

If this won't work for you for any reason let me know and I'll look at implementing alloca() for all three currently supported architectures.

Cheers,
Ian


_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc

Reply via email to