dotnet / corert

This repo contains CoreRT, an experimental .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying compiler toolchain.
http://dot.net
MIT License
2.91k stars 508 forks source link

Wasm: Add support for DefaultConstructorOf and hence Activator.CreateInstance<T> #8279

Closed yowl closed 4 years ago

yowl commented 4 years ago

This PR add support for this intrinsic, enabling Activator.CreateInstance<T>

jkotas commented 4 years ago

This is likely hitting the object writer crash #7907 that is hard to repro. I am not able to reproduce locally with the exact same setting as CI. Let's merge and see whether it persists.