Factor the function mono_call_add_patch_info out of a few lines of repeated code...
commitcd5e14a3ccaa76e6ba6c58b26823863a2d0a0854
authorJay Krell <jay.krell@cornell.edu>
Wed, 17 Apr 2019 07:41:54 +0000 (17 00:41 -0700)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 17 Apr 2019 07:41:54 +0000 (17 09:41 +0200)
tree38a3a2fdefac6c9282e222f9da50528da827bf27
parent9e10afd3d66760fb0d813f25df91530d1294fce9
Factor the function mono_call_add_patch_info out of a few lines of repeated code in many backends. (#13970)

This notably does not apply to amd64, x86.
They have more logic intertwined around the patch when they emit the call.
mono/mini/calls.c
mono/mini/mini-arm.c
mono/mini/mini-arm64.c
mono/mini/mini-mips.c
mono/mini/mini-ppc.c
mono/mini/mini-s390x.c
mono/mini/mini.c
mono/mini/mini.h