Ian Romanick writes:
> From: Ian Romanick
>
> The casts to remove const from ir are ugly. The alternative was to add
> const versions of all the as_foo functions, and I just couldn't get up
> the motivation to do that.
>
Wouldn't the alternative be roughly as much typing as casting const
away?
From: Ian Romanick
The casts to remove const from ir are ugly. The alternative was to add
const versions of all the as_foo functions, and I just couldn't get up
the motivation to do that.
If there's a third option that is better, I would love to hear about
it. :)
Signed-off-by: Ian Romanick
C