commit | 910f17e331221cd0833d0b5b49013cbbc7ef122a | [log] [tgz] |
---|---|---|
author | Richard Trieu <rtrieu@google.com> | Tue May 14 21:59:17 2013 +0000 |
committer | Richard Trieu <rtrieu@google.com> | Tue May 14 21:59:17 2013 +0000 |
tree | c92ef3acd6ef3e0cafb90f856a3de6c0ef96bb09 | |
parent | e7e94c907cf6924929e81083e93628d0f520c734 [diff] |
When computing the size of large arrays, use char units instead of bits. This prevents an overflow and assertion when the number of bits cannot be stored in 64-bits. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181839 91177308-0d34-0410-b5e6-96231b3b80d8