1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Explicit 64-bit indexer truncation on 32-bit builds

This commit is contained in:
Brian Fiete 2022-02-07 15:35:00 -05:00
parent 390f27c072
commit 7d0121ea27
2 changed files with 10 additions and 1 deletions

View file

@ -125,6 +125,7 @@ public:
public:
void InitTarget();
void FixValues(llvm::StructType* structType, llvm::SmallVector<llvm::Value*, 8>& values);
void FixIndexer(llvm::Value*& val);
BfTypeCode GetTypeCode(llvm::Type* type, bool isSigned);
llvm::Type* GetLLVMType(BfTypeCode typeCode, bool& isSigned);
BfIRTypeEntry& GetTypeEntry(int typeId);