ir_reader: Remove s_list::length() method.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 31 Dec 2010 09:48:02 +0000 (01:48 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 13 Jan 2011 07:55:33 +0000 (23:55 -0800)
commitd7988152722cd5f3930064a139b567cbcb0e5f53
treeb17b82ce389b74e347bef5c8c43d619bdbcf5f12
parentdaeb0c646e0d652bfa16d326028753ecf092c0c9
ir_reader: Remove s_list::length() method.

Most code now relies on the pattern matcher rather than this function,
and for the only remaining case, not using this saves an iteration.
src/glsl/ir_reader.cpp
src/glsl/s_expression.cpp
src/glsl/s_expression.h