Please sign in to comment.
Use C_stack_pointer instead of C_alloc(0) when generating foreign cal…
…lback stubs alloca(0) returns NULL in LLVM instead of returning the stack pointer, so generate a call to C_stack_pointer instead. This is only necessary when adjusting the callback stack, as all other calls to C_alloc are omitted when their size is 0.
- Loading branch information...