diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-05-04 03:14:09 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-05-04 03:14:09 +0000 | 
| commit | fc5b61941993bfc54c34f90551a9f0ef1378ca63 (patch) | |
| tree | 04b85d9ad8a786ddc068877c330a34832ca56bba /llvm/lib | |
| parent | c97d08f70278a7fc9e86e1100e9bd56554468b4d (diff) | |
| download | bcm5719-llvm-fc5b61941993bfc54c34f90551a9f0ef1378ca63.tar.gz bcm5719-llvm-fc5b61941993bfc54c34f90551a9f0ef1378ca63.zip  | |
fix a bug encoding param attrs
llvm-svn: 36730
Diffstat (limited to 'llvm/lib')
| -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 0217e362afd..7a875a06769 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -94,7 +94,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(A->getParamAttrs(op)); +      Record.push_back(A->getParamAttrsAtIndex(op));      }      Stream.EmitRecord(bitc::PARAMATTR_CODE_ENTRY, Record);  | 

