[aot] Avoid dedup-ing non-public instances. (#40643)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Wed, 12 Aug 2020 03:35:24 +0000 (23:35 -0400)
committerGitHub <noreply@github.com>
Wed, 12 Aug 2020 03:35:24 +0000 (23:35 -0400)
commit2215f7b231a78066d88bf2437ded555b77d96726
treeadb31bb2fc966ad1fcbdf1b11ce749029aa581c9
parent9f0826200b6b97b9ae1a0d184c938dc70bf55ea2
[aot] Avoid dedup-ing non-public instances. (#40643)

This will decrease the size of the dedup assembly which can get
large with lots of instances.

Hopefully fixes https://github.com/mono/mono/issues/20224.

Co-authored-by: vargaz <vargaz@users.noreply.github.com>
src/mono/mono/mini/aot-runtime.c