[llvmonly] Rework the handling of direct calls.
commit9960c5b4199543af499a4046ceac0837eaf0324f
authorZoltan Varga <vargaz@gmail.com>
Wed, 31 Oct 2018 12:54:15 +0000 (31 13:54 +0100)
committerZoltan Varga <vargaz@gmail.com>
Wed, 31 Oct 2018 18:55:59 +0000 (31 19:55 +0100)
tree499fd0adff09a4d75af12692e381d0df1a9fb282
parent7ef033cf8dd94624407bd93733304c5654f18c14
[llvmonly] Rework the handling of direct calls.

Move the allocation of got offsets for calls to a separate pass after all methods have been compiled. This means
that got offsets do not need to be allocated for calls which can be turned into direct calls.
mono/mini/aot-compiler.c
mono/mini/mini-llvm-loaded.c
mono/mini/mini-llvm.c
mono/mini/mini-llvm.h
mono/mini/mini-runtime.h