forked from OSchip/llvm-project
OpaquePtr: Record byref types in bitcode writer
I missed this case when adding byref. I believe this is NFC until pointee types are really removed.
This commit is contained in:
parent
e867951de6
commit
c79a4490d4
|
@ -1005,6 +1005,8 @@ void ValueEnumerator::incorporateFunction(const Function &F) {
|
|||
EnumerateType(I.getParamByValType());
|
||||
else if (I.hasAttribute(Attribute::StructRet))
|
||||
EnumerateType(I.getParamStructRetType());
|
||||
else if (I.hasAttribute(Attribute::ByRef))
|
||||
EnumerateType(I.getParamByRefType());
|
||||
}
|
||||
FirstFuncConstantID = Values.size();
|
||||
|
||||
|
|
Loading…
Reference in New Issue