1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Fixed comptime geps with non-ptrsize indices

This commit is contained in:
Brian Fiete 2023-03-14 11:56:59 -07:00
parent 398cb0c7ad
commit dd22fa056f
4 changed files with 445 additions and 278 deletions

View file

@ -883,6 +883,7 @@ public:
void EmitZeroes(int size);
void EmitJump(CeOp op, const CeOperand& block);
void EmitBinarySwitchSection(BeSwitchInst* switchInst, int startIdx, int endIdx);
CeOperand EmitNumericCast(const CeOperand& ceValue, BeType* toType, bool valSigned, bool toSigned);
void EmitFrameOffset(const CeOperand& val);
void FlushPhi(CeBlock* ceBlock, int targetBlockIdx);