Fix a fixme by correctly calculating preferred alignments for functions,
authorNate Begeman <natebegeman@mac.com>
Wed, 7 Feb 2007 05:47:16 +0000 (05:47 +0000)
committerNate Begeman <natebegeman@mac.com>
Wed, 7 Feb 2007 05:47:16 +0000 (05:47 +0000)
commitc2b2d6a7c9c76693a45f316ca1f167dd185b33e4
treed183ee362e42958355ed15780dbb8f611f6b1541
parent58f84d4b2ddee76d594a1cdfeffaea6417ed0a20
Fix a fixme by correctly calculating preferred alignments for functions,
based on the alignment of the symbol and the target data's preferred align
for that type.

Also, rename some arguments for consistency.

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