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 | a2206fbeefe4e3e1304793837501d23409b7960d (patch) | |
tree | 7d3901d91ea553fbfaef9f967dd99d3e65f96543 /lib/Bitcode | |
parent | a4d5573c0ad7af9c0e4b88c08f1c18dd0f4c7e3d (diff) | |
download | external_llvm-a2206fbeefe4e3e1304793837501d23409b7960d.zip external_llvm-a2206fbeefe4e3e1304793837501d23409b7960d.tar.gz external_llvm-a2206fbeefe4e3e1304793837501d23409b7960d.tar.bz2 |
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 3f7cfcc..fe013e8 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); |