[llvm-commits] [RFC] Patch 1/3 for the native code compiler of Erlang
Anton Korobeynikov
anton at korobeynikov.info
Mon Jun 25 15:41:31 PDT 2012
Hi Yiannis,
>> It seems you require tail call optimizations on every call, right?
>> What will be if the call will be via function pointer?
> Yes, HiPE CC should support tailcall optimization for every call. I
> don't quite understand what's the potential problem here... What do you
> mean a "call via function pointer"?
The case when F is NULL here. Consider the following C code:
void foo(void (*bar)(void)) {
bar();
}
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-commits
mailing list