Destroy the old tree in `optAssertionProp_Update`.
authorSergey Andreenko <seandree@microsoft.com>
Wed, 27 Mar 2019 00:06:29 +0000 (17:06 -0700)
committerSergey Andreenko <seandree@microsoft.com>
Tue, 9 Apr 2019 20:59:27 +0000 (13:59 -0700)
commit36b9a79529f560bd974d2e28df87fe8ac76a1703
treebe91ddbf1152ec9becd4aaa11a3f11ec4b1aae27
parent69431b6c10bbf8f92868f0951bd5654793b2b09f
Destroy the old tree in `optAssertionProp_Update`.

Currently compiletion will fail with an assert because of `optPrepareTreeForReplacement`.

Commit migrated from https://github.com/dotnet/coreclr/commit/04c7fa63a52d4405298fd4053e7be137eac6a042
src/coreclr/src/jit/assertionprop.cpp