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.

Evan

Hi Arnold,

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20071231/056781.html

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

Thanks,

Evan