diff options
author | Dale Johannesen <dalej@apple.com> | 2008-02-20 21:15:19 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-02-20 21:15:19 +0000 |
commit | 8d1433c6fca9b8f2d1429a0abcf4bfba1b3423ee (patch) | |
tree | 7d3901d91ea553fbfaef9f967dd99d3e65f96543 /lib/Bitcode | |
parent | 3738f2d59fe0f040b18dfe2f0d5b110be3a02b69 (diff) |
Support alignment within ParamAttrs in the I/O handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47401 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode')
-rw-r--r-- | lib/Bitcode/Writer/BitcodeWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp index 3f7cfcc209..fe013e8156 100644 --- a/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -119,7 +119,7 @@ static void WriteParamAttrTable(const ValueEnumerator &VE, const ParamAttrsList *A = Attrs[i]; for (unsigned op = 0, e = A->size(); op != e; ++op) { Record.push_back(A->getParamIndex(op)); - Record.push_back((uint16_t)A->getParamAttrsAtIndex(op)); + Record.push_back(A->getParamAttrsAtIndex(op)); } Stream.EmitRecord(bitc::PARAMATTR_CODE_ENTRY, Record); |