Change array construction with rank>4 to use not use varargs -- localalloc. (#12213)
commit6a9d38a2cb983483266e822a9d52fc8012705fd1
authorJay Krell <jay.krell@cornell.edu>
Wed, 2 Jan 2019 17:12:46 +0000 (2 09:12 -0800)
committerZoltan Varga <vargaz@gmail.com>
Wed, 2 Jan 2019 17:12:46 +0000 (2 12:12 -0500)
tree357b7e9c03d07900ed64d7a468cf8691b1c96607
parent9f73df9441a0f802ff7e8be2883ed93c72bfafbb
Change array construction with rank>4 to use not use varargs -- localalloc. (#12213)

* Change array construction with rank>4 to use not use varargs -- localalloc.
This fixes https://github.com/mono/mono/issues/12193.

This is alternative to https://github.com/mono/mono/pull/12200.
They are both pretty good approaches.
12200 uncovered a hash order dependency which should be fixed either way.

* Fix C++.

* Remove unused MONO_ARCH_VARARG_ICALLS and ARCH_VARARG_ICALLS.
13 files changed:
mono/metadata/icall.c
mono/mini/aot-runtime.h
mono/mini/jit-icalls.c
mono/mini/jit-icalls.h
mono/mini/method-to-ir.c
mono/mini/mini-amd64.c
mono/mini/mini-amd64.h
mono/mini/mini-runtime.c
mono/mini/mini-runtime.h
mono/mini/mini.c
mono/mini/mini.h
mono/tests/Makefile.am
mono/tests/array-12193.cs [new file with mode: 0644]