Fix an over aggressive assumption that struct decls will have a pointer to
authorChris Lattner <sabre@nondot.org>
Mon, 10 Nov 2008 03:48:55 +0000 (03:48 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 10 Nov 2008 03:48:55 +0000 (03:48 +0000)
commit4d557e4872b47b9f9ce340110c7d4a04779c8dc6
tree5a2df41951c01dc428d062f5a25c60f5ec2adbcb
parent3b78185a18aad1bf0e1252ffdc7f91a77008d74f
Fix an over aggressive assumption that struct decls will have a pointer to
an array that is empty.  Instead of requiring this array, allow a null pointer.
This shrinks all forward references of structs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58959 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineModuleInfo.cpp