[ORC] Don't call isa<> on a null value.
authorLang Hames <lhames@gmail.com>
Tue, 26 Jun 2018 22:43:01 +0000 (22:43 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 26 Jun 2018 22:43:01 +0000 (22:43 +0000)
commit2f17824463f407a515ddb9307273a2c34a783851
treee701fddd2feb075f81aad10ad6954d16725a98a8
parent8f9dbb1d645dec5273b9d1fe3887843d76994d6b
[ORC] Don't call isa<> on a null value.

This should fix the recent builder failures in the test-global-ctors.ll testcase.

llvm-svn: 335680
llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp