exec_list: Make various places use the new length() method.
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 8 Jul 2014 19:21:00 +0000 (12:21 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 15 Jul 2014 18:16:16 +0000 (11:16 -0700)
commit58270c2fac493497ed7923830f49051a53e86a07
treeca7bbef19c575c452b524b8432beedcda30e8fee
parent7b0f69225afb362ec2681d9b36eae2d035b10c00
exec_list: Make various places use the new length() method.

Instead of hand-rolling it.

v2 [mattst88]: Rename get_size to length. Expand comment in ir_reader.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> [v1]
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Connor Abbott <connor.abbott@intel.com>
src/glsl/ast_to_hir.cpp
src/glsl/ir_reader.cpp
src/glsl/opt_function_inlining.cpp
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
src/mesa/program/ir_to_mesa.cpp