[jit] Add support for unlimited size/number of arguments to the dyn call code (#5612)
authorZoltan Varga <vargaz@gmail.com>
Wed, 27 Sep 2017 01:23:56 +0000 (03:23 +0200)
committerGitHub <noreply@github.com>
Wed, 27 Sep 2017 01:23:56 +0000 (03:23 +0200)
commita54603a60449865979f6a1f7ad97b7997548c0c8
tree526909435c3e1de8acb0123949ad99890e44ca6e
parent52b96a92338bac9107cefc3cf316120c8449e397
[jit] Add support for unlimited size/number of arguments to the dyn call code (#5612)

* [jit] Add a mono_arch_dyn_call_get_buf_size () arch specific function which returns the size of the buffer required for a given dyn call. Use this instead of a fixed size buffer, to allow backends to use variable sized buffers later.

* [amd64] Add support for unlimited size/number of arguments to the dyncall code.

* [arm64] Add support for unlimited size/number of arguments to the dyncall code. Part of the fix for #59184.
mono/metadata/object-offsets.h
mono/mini/cpu-arm64.md
mono/mini/method-to-ir.c
mono/mini/mini-amd64.c
mono/mini/mini-amd64.h
mono/mini/mini-arm.c
mono/mini/mini-arm64.c
mono/mini/mini-arm64.h
mono/mini/mini-runtime.c
mono/mini/mini.h
mono/tests/runtime-invoke.cs