mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
4531b9ff5d
Before this commit, initModelTypes could return integers of the wrong size for IntToPtrInst, whenever the integer being casted to pointer did not have the exact same size of the pointer on the model. This commit fixes the problem. Now initModelTypes, even if it might be forced to return an integer type for IntToPtr, it makes sure that the size of that integer matches the size of the pointer on the model.