* Fix divide by zero error with empty structs
authorChris Lattner <sabre@nondot.org>
Wed, 21 May 2003 18:08:44 +0000 (18:08 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 21 May 2003 18:08:44 +0000 (18:08 +0000)
commit4e840d4db71faebb52f5e94ca2a8d1c00ecef09b
tree2a98ceef1bbc8165abdec3a627b4f939d449b1f5
parent77c9fcb797ca391b355fbead8f35942805e5be94
* Fix divide by zero error with empty structs
* Empty structs should have ALIGNMENT 1, not SIZE 1.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6263 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/TargetData.cpp