mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 15:26:00 +02:00
Fixed bug with stack saving
In certain cases when we need to remove the StackSave (because we crossed the save threshold with an allocation), there may already be restores using that stack save which need to be removed as well.
This commit is contained in:
parent
be7e82f5b6
commit
9f1ea28953
8 changed files with 25 additions and 10 deletions
|
@ -1099,7 +1099,7 @@ public:
|
|||
BfIRValue CreateMemSet(BfIRValue addr, BfIRValue val, BfIRValue size, int align);
|
||||
void CreateFence(BfIRFenceType fenceType);
|
||||
BfIRValue CreateStackSave();
|
||||
void CreateStackRestore(BfIRValue stackVal);
|
||||
BfIRValue CreateStackRestore(BfIRValue stackVal);
|
||||
|
||||
BfIRValue CreateGlobalVariable(BfIRType varType, bool isConstant, BfIRLinkageType linkageType, BfIRValue initializer, const StringImpl& name, bool isTLS = false);
|
||||
void GlobalVar_SetUnnamedAddr(BfIRValue val, bool unnamedAddr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue