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 | 965155affbf61404438a99e3c249313d1bb2abb1 (patch) | |
tree | 3ef4556a2753d08e8d31ccd5b87c6a3e92c6800a /llvm/lib/Bitcode/Writer | |
parent | b6b69208ba2bb243b494991d34ea15e3f8e87e52 (diff) | |
download | bcm5719-llvm-965155affbf61404438a99e3c249313d1bb2abb1.tar.gz bcm5719-llvm-965155affbf61404438a99e3c249313d1bb2abb1.zip |
Support alignment within ParamAttrs in the I/O handling.
llvm-svn: 47401
Diffstat (limited to 'llvm/lib/Bitcode/Writer')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index 3f7cfcc2095..fe013e81569 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/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); |