mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
fix a bug encoding param attrs
llvm-svn: 36730
This commit is contained in:
parent
b973c9b64e
commit
2eeffc8c5a
@ -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…
Reference in New Issue
Block a user