mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Lost changes
This commit is contained in:
parent
e6c4a95ccd
commit
8e9d7ed4c4
56 changed files with 1579 additions and 794 deletions
|
@ -690,6 +690,8 @@ void BeIRCodeGen::Read(BeValue*& beValue)
|
|||
CMD_PARAM(BeConstant*, initializer);
|
||||
CMD_PARAM(String, name);
|
||||
CMD_PARAM(bool, isTLS);
|
||||
|
||||
BF_ASSERT(varType != NULL);
|
||||
|
||||
auto globalVariable = mBeModule->mGlobalVariables.Alloc();
|
||||
globalVariable->mModule = mBeModule;
|
||||
|
@ -1906,7 +1908,9 @@ void BeIRCodeGen::HandleNextCmd()
|
|||
CMD_PARAM(StringT<256>, name);
|
||||
CMD_PARAM(bool, isTLS);
|
||||
CMD_PARAM(BeConstant*, initializer);
|
||||
|
||||
|
||||
BF_ASSERT(varType != NULL);
|
||||
|
||||
auto globalVariable = mBeModule->mGlobalVariables.Alloc();
|
||||
globalVariable->mModule = mBeModule;
|
||||
globalVariable->mType = varType;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue