Change the way unbox trampolines are handled in AOT. Instead of emitting a global...
commit0f7afebd7570fcd4fe78c6d999a0e4856acac474
authorZoltan Varga <vargaz@gmail.com>
Mon, 11 Jul 2011 22:12:56 +0000 (12 00:12 +0200)
committerZoltan Varga <vargaz@gmail.com>
Sun, 28 Aug 2011 15:39:23 +0000 (28 17:39 +0200)
tree46484724566baff00f65334f81ab095e32e1bf16
parent12fdfa365c2aa449c132bf0e04f59393792479f0
Change the way unbox trampolines are handled in AOT. Instead of emitting a global 'ut_...' symbol for them, which takes up space in the symbol table, emit a sorted table mapping method indexes to their unbox trampolines. This cuts the size of the static mscorlib AOT image by about 20k.
mono/mini/aot-compiler.c
mono/mini/aot-runtime.c
mono/mini/mini.h