How difficult is to fix this error: JIT does not support address-of-label yet!

I ran into this and would like to have goto-label-by-pointer feature in JIT.
How difficult is this?

I see that functions are stored in the global map of global values. So I would guess one needs to add another map: of all BB addresses just like the global value map.

Yuri

I just implemented this feature and here is the patch:
http://llvm.org/bugs/show_bug.cgi?id=7264

Yuri

Just to follow up to the list Reid replied to this in the bug. I commented as well.

-eric