[CGP] Fix the bug found by asan.
authorSerguei Katkov <serguei.katkov@azul.com>
Sun, 5 Nov 2017 07:59:02 +0000 (07:59 +0000)
committerSerguei Katkov <serguei.katkov@azul.com>
Sun, 5 Nov 2017 07:59:02 +0000 (07:59 +0000)
commitaee6375b02888514b464992cb2bda4e90bdfb343
treefabcd5d132e8bc6ec80130efb792e0c3c8070682
parentcde03f3d27a81b9d644588af40c888a87cbc4c4b
[CGP] Fix the bug found by asan.

Try to fix the asan failure introduced by r317429.

llvm-svn: 317431
llvm/lib/CodeGen/CodeGenPrepare.cpp