Fix two small but very nasty bugs in the PCH writer for method pools:   (1) Make sure to pad on-disk hash tables with 4 bytes, not 2, since   the reader assumes that bucket data is aligned on 4-byte   boundaries.    (2) Don't emit the number of factory methods twice. This was   throwing off the data counts and therefore causing lookups to   fail. I've added asserts so that this class of error cannot happen   again.
Fix two small but very nasty bugs in the PCH writer for method pools:
  (1) Make sure to pad on-disk hash tables with 4 bytes, not 2, since
  the reader assumes that bucket data is aligned on 4-byte
  boundaries. 
  (2) Don't emit the number of factory methods twice. This was
  throwing off the data counts and therefore causing lookups to
  fail. I've added asserts so that this class of error cannot happen
  again.


git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@69991 91177308-0d34-0410-b5e6-96231b3b80d8

llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang