|
getPrimitiveSizeInBits works on integer types but not on pointer types.
This change makes the code more robust, and will help support the removal
of the pointer lowering pass.
This also requires removing const from some Type pointers. Types are
immutable, so the convention is that const is redundant.
|