projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
310fbbf
)
fix a bug encoding param attrs
author
Chris Lattner
<sabre@nondot.org>
Fri, 4 May 2007 03:14:09 +0000
(
03:14
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 4 May 2007 03:14:09 +0000
(
03:14
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36730
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bitcode/Writer/BitcodeWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/Bitcode/Writer/BitcodeWriter.cpp
b/lib/Bitcode/Writer/BitcodeWriter.cpp
index 0217e362afd4c0d2a24d0abc0c85baede8dc664a..7a875a06769dc903b349b891ca711a34d0b96ad1 100644
(file)
--- a/
lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/
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->getParamAttrs
AtIndex
(op));
}
Stream.EmitRecord(bitc::PARAMATTR_CODE_ENTRY, Record);