Tailcall optimization in jit stopped working

tailcall optimization stop working in jit (lli) in revision 45527. i guess this is because the jit is tailjmping to the wrong function address. the following change would reenable tailcallopt in jit. But i am pretty sure that this is not the correct fix (since i don't really understand what is going on :). maybe evan can comment on this?

regards arnold

Index: lib/Target/X86/X86CodeEmitter.cpp

My bad. I'll fix it after I commit next batch of JIT changes.


Hi Arnold,


Can you see if it's working for you now?