mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Added constant string appending with + operator, const string fixes
This commit is contained in:
parent
41cb0052b2
commit
c92bc523db
14 changed files with 158 additions and 34 deletions
|
@ -510,6 +510,14 @@ void BfIRCodeGen::Read(llvm::Type*& llvmType)
|
|||
return;
|
||||
}
|
||||
|
||||
if (typeKind == BfIRType::TypeKind::TypeKind_SizedArray)
|
||||
{
|
||||
CMD_PARAM(llvm::Type*, elementType);
|
||||
CMD_PARAM(int, length);
|
||||
llvmType = llvm::ArrayType::get(elementType, length);
|
||||
return;
|
||||
}
|
||||
|
||||
int typeId = (int)ReadSLEB128();
|
||||
auto& typeEntry = GetTypeEntry(typeId);
|
||||
if (typeKind == BfIRType::TypeKind::TypeKind_TypeId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue