mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-24 03:25:00 +00:00
fix a bug encoding param attrs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36730 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
310fbbf7f7
commit
f6f9cd1bf2
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user