Ian Romanick i...@freedesktop.org writes:
From: Ian Romanick ian.d.roman...@intel.com
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
From: Ian Romanick ian.d.roman...@intel.com
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. :)