Handle null ref in Compiler::optCreateAssertion
authorSteve MacLean, Qualcomm Datacenter Technologies, Inc <sdmaclea@qti.qualcomm.com>
Wed, 29 Mar 2017 21:07:26 +0000 (21:07 +0000)
committerSteve MacLean, Qualcomm Datacenter Technologies, Inc <sdmaclea@qti.qualcomm.com>
Wed, 29 Mar 2017 21:24:08 +0000 (21:24 +0000)
commit9eb2045d6f38a4b7d1dafd14e558219545efd44d
tree461ad3ee0c9194795fc88f759daa422f05fb466a
parent686cd464a88826d47371792babba49980a1e1fc3
Handle null ref in Compiler::optCreateAssertion

Code as recommended by Eugene Rozenfeld in dotnet/coreclr#10359

Fixes dotnet/coreclr#10359

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