Dan Sugalski <dan@sidhe.org> wrote:
> It's not guaranteed anywhere, so having a fallback is definitely in
> order. It's distinctly possible we'll find compilers that flat-out
> won't allow us to do this, in which case we'll need a Plan B as
> fallback.
Plan B is a bit more expensiv but of course doable:
#if FUNCS_ARENT_ALIGNED
if (is_pmc_ptr(interpreter, real_function)) {
// go invoke it
}
else
(orig_real_function)(aaargs);
}
#else
...
leo
Thread Previous