OSDN Git Service

Re-commit 97860 with fix. getMallocAllocatedType may return null.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 8 Mar 2010 22:54:36 +0000 (22:54 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 8 Mar 2010 22:54:36 +0000 (22:54 +0000)
commitad3267c3936c672b2d9df0c8ed90d8f0d428655c
treea8ecdecd2b4058059c79a46d1b59386d8e42880d
parent04f37895b1d991edf1dff63c3db5feef7348182f
Re-commit 97860 with fix. getMallocAllocatedType may return null.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98000 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/objsize.ll