mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Restrict const expression usage to generic arguments
This commit is contained in:
parent
2b9443744b
commit
071dfa8e09
4 changed files with 19 additions and 3 deletions
|
@ -1086,7 +1086,8 @@ void BeIRCodeGen::Read(BeMDNode*& llvmMD)
|
|||
llvmMD = result.mBeMetadata;
|
||||
BE_MEM_END("BeMDNode");
|
||||
|
||||
llvmMD->mRefCount++;
|
||||
if (llvmMD != NULL)
|
||||
llvmMD->mRefCount++;
|
||||
}
|
||||
|
||||
void BeIRCodeGen::HandleNextCmd()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue