1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 15:26:00 +02:00

Initial const eval feature release

This commit is contained in:
Brian Fiete 2020-12-23 08:53:38 -08:00
parent be929c3626
commit ff1f8aff3f
27 changed files with 887 additions and 178 deletions

View file

@ -815,7 +815,7 @@ struct BfConstantSizedArrayType
struct BfConstantUndef
{
BfConstType mConstType;
BfTypeCode mTypeCode;
BfIRType mType;
};
struct BfConstantBitCast
@ -903,7 +903,7 @@ public:
BfIRValue CreateConstArrayZero(BfIRType type, int count);
BfIRValue CreateConstArrayZero(int count);
BfIRValue CreateTypeOf(BfType* type);
BfIRValue GetUndefConstValue(BfTypeCode typeCode);
BfIRValue GetUndefConstValue(BfIRType type);
};
enum BfIRPopulateType