i965: Mark cfg dumping functions const.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 4 Sep 2014 06:29:04 +0000 (23:29 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 5 Sep 2014 16:52:38 +0000 (09:52 -0700)
commit6ff5bb24658c55c28e462c657816fda2d8e53a65
treef067945d2067725e7988b0c39e9b55c4b8f11be9
parent88d673bde685b07cf68829f54c5d5d4e28ba7c4e
i965: Mark cfg dumping functions const.

The dump() methods don't alter the CFG or basic blocks, so we should
mark them as const.  This lets you call them even if you have a const
cfg_t - which is the case in certain portions of the code (such as live
interval handling).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_cfg.cpp
src/mesa/drivers/dri/i965/brw_cfg.h