mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed issues with global var addresses in const arrays
This commit is contained in:
parent
52af512b4f
commit
b30a72719c
13 changed files with 376 additions and 36 deletions
|
@ -134,6 +134,7 @@ enum BfConstType
|
|||
BfConstType_BitCast,
|
||||
BfConstType_BitCastNull,
|
||||
BfConstType_GEP32_2,
|
||||
BfConstType_ExtractValue,
|
||||
BfConstType_PtrToInt,
|
||||
BfConstType_TypeOf,
|
||||
BfConstType_AggZero,
|
||||
|
@ -825,6 +826,13 @@ struct BfConstantGEP32_2
|
|||
int mIdx1;
|
||||
};
|
||||
|
||||
struct BfConstantExtractValue
|
||||
{
|
||||
BfConstType mConstType;
|
||||
int mTarget;
|
||||
int mIdx0;
|
||||
};
|
||||
|
||||
struct BfConstantArray
|
||||
{
|
||||
BfConstType mConstType;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue