Avoid dereferencing a NULL pointer.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 27 Sep 2012 16:34:19 +0000 (16:34 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 27 Sep 2012 16:34:19 +0000 (16:34 +0000)
commitddc26d89362330995f59ad29eb8bb439a817050b
treeed47f43030702a88de56fafdd8096f1b5e510926
parent7149ef0176240ee5a09b0f6ad6300d1a966a31d1
Avoid dereferencing a NULL pointer.

Fixes PR13943.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164778 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveRangeEdit.cpp
test/CodeGen/X86/crash.ll